Open areshayevcaci opened 1 month ago
Have you tried the native Power BI connector?
yes, we tried Power BI Connector unfortunately there're bugs in Power BI Connector Direct Mode that don't let us use it on product environment for example this one: https://github.com/ClickHouse/power-bi-clickhouse/issues/19 is show stopper
@areshayevcaci, I think the right course of action here is to resolve the existing issues with the Power BI connector cause we don't guarantee that the MySQL interface will work with Power BI - the primary use case for it is the other BI tools that don't support native ClickHouse connectors at all: QuickSight, Looker (not Studio), and Tableau Online.
It also reduces the time to deliver the fixes if we do it in the connector instead - for changes in the MySQL interface, we are tied to the ClickHouse release cadence and cannot react faster if needed.
Regarding the bugs with the connector, is it only that one that you linked or others? If there were more, it would be beneficial if you could create the related issues in the connector there. I will pass it on to the team, and we will investigate.
on slack help thread, when similar connection issue was discussed, Ryadh Dahimene (ClickHouse Inc) mentioned MySQL interface as a way for BI tools
_Ryadh Dahimene (ClickHouse Inc) 4 months ago We recently improved the MySQL interface support specifically for BI scenarios, so MyQSL is the way to go_
we are trying to use PowerBI and Clickhouse together and I'm happy to raise separate issues about PowerBI Native connector and ODBC driver
How to reproduce Scenario 1:
Scenario 2:
Scenario 3:
PowerBI - New Report, Get Data - MySQL server
Connection Details: Server: mytestch.uk.cloudapp.azure.com:9004 Database: dev Include Relationship Columns: FALSE Navigate Using full Hierarchy: FALSE Command timeout: empty SQL statement: select * from mysql_test Connection type: Database Username: test; Password: %%%%%
ERROR: Details: "MySQL: Code: 62. DB::Exception: Syntax error: failed at position 6 ('COLLATION'): COLLATION. Expected one of: CREATE, FULL, DATABASES, CLUSTERS, MERGES, FILESYSTEM CACHES, CLUSTER, CHANGED, SETTINGS, TABLES, DICTIONARIES, EXTENDED, COLUMNS, FIELDS, ENGINES, FUNCTIONS, INDEX, INDEXES, INDICES, KEYS, SETTING, CREATE, DATABASE, DICTIONARY, VIEW, TABLE, PROCESSLIST, ACCESS, USERS, ROLES, SETTINGS PROFILES, PROFILES, ROW POLICIES, POLICIES, QUOTAS, CURRENT ROLES, ENABLED ROLES, CURRENT QUOTA, QUOTA, GRANTS, PRIVILEGES."
Which ClickHouse server version to use: 24.3.2.23 (official build)
Which interface to use, if it matters: MySQL, Port 9004
CREATE TABLE
statements for all tables involvedcreate table mysql_test (id UInt32 not null, code Nullable(String)) Engine = MergeTree() order by (id);