ClickHouse / clickhouse-tableau-connector-jdbc

Tableau connector to ClickHouse using JDBC driver
Apache License 2.0
57 stars 9 forks source link

There is no dropdown with databases list #65

Closed silentsokolov closed 5 months ago

silentsokolov commented 5 months ago

This is the same issue as #62 In the Tableau version 2023.3, with any combination of drivers and settings, the dropdown list is missing


Tableau Desktop v2023.3.x (and WebView on Server v2023.3.x) ClickHouse v23.8.2.7 clickhouse-tableau-connector-jdbc v0.2.6 Clickhouse JDBC driver: 0.6.0 / 0.5.0 / 0.4.6 / 0.3.2-patch8 / 0.3.2-patch11 Settings: databaseTerm=schema, databaseTerm=catalog, database=default (and spec)

yurifal commented 5 months ago

Do simply adding the databaseTerm=schema to the Custom Connection Parameters on the Advanced tab work for you?

It does work for me (and other users as well): https://github.com/ClickHouse/clickhouse-tableau-connector-jdbc/issues/62#issuecomment-1848958680

yurifal commented 5 months ago

setting the databaseTerm=catalog or specifying the database=<some_name> doesn't work.

silentsokolov commented 5 months ago

any combination of drivers and settings

yes, I tried databaseTerm=schema, databaseTerm=catalog w + w/o database=default, database=<some>

yurifal commented 5 months ago

could you please share the Advanced tab screenshot of your connection dialog?

yurifal commented 5 months ago

for a positive test, please try connecting to this instance:

github.demo.trial.altinity.cloud (8443 demo:demo)

silentsokolov commented 5 months ago

On screen

WebView on Server v2023.3.x ClickHouse v23.8.2.7 clickhouse-tableau-connector-jdbc v0.2.6 Clickhouse JDBC driver: 0.4.6

w/o database=<some> - nothing change

image image image
silentsokolov commented 5 months ago

On screen

WebView on Server v2023.3.x ClickHouse ???? (github.demo.trial.altinity.cloud) + SSL clickhouse-tableau-connector-jdbc v0.2.6 Clickhouse JDBC driver: 0.4.6

And yes, it's works

image
yurifal commented 5 months ago

Their version:

`SELECT version();

version() | ----------+ 23.10.5.20| `

yurifal commented 5 months ago

please DO NOT add database=default to the Connection Parameters

silentsokolov commented 5 months ago

please DO NOT add database=default to the Connection Parameters

w/o database=<some> - nothing change )))

yurifal commented 5 months ago

There's something with the settings of your CH instance, i guess. Could you please ask your CH DBA if any changes made to the configs regarding the metadata queries (catalog/schema/table)?

yurifal commented 5 months ago

Are you able to connect from yet another SQL client using JDBC (DBeaver etc)? Could you try connecting from DBeaver using the databaseTerm=schema set in the Driver Properties?

silentsokolov commented 5 months ago

Finally, problem is an option enable_http_compression, we must force disable it.

BTW it's non-obvious since there is no any error

Thx

image