Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Sets" seems not to be recognized with this last connector version #387

Closed
Fred5778 opened this issue Jan 12, 2022 · 1 comment
Closed

Comments

@Fred5778
Copy link

Hi,

I have tried your new connector with the hope it would correct limitations because Tableau does not understand the ClickHouse SQL dialect.
Before I had a several limitations and issues with JOIN ON syntax and LOD expressions as FIXED, INCLUDE etc.

for example :
Une erreur s'est produite lors de la communication avec la source de données Autres bases de données (ODBC) 'qoe_fixe'
Problème de connexion : Tableau n'a pas pu se connecter à la source de données.
Code d'erreur : B19090E0
HTTP status code: 501
Received error:
Code: 48, e.displayText() = DB::Exception: JOIN ON does not support OR. Unexpected '(zipcode = t0.zipcode) OR (isNull(zipcode) AND isNull(t0.zipcode))': While processing (zipcode = t0.zipcode) OR (isNull(zipcode) AND isNull(t0.zipcode)) (version 21.3.15.4 (official build))

but there were no errors displayed on calculated fields, even if they were based on "sets" etc..

Now, If I used your new connector, I encounter another problem:
It seems that "sets" are not recognised??
For exemple :
In this calculated field I use a set called « Dsl_Indispo_One_Day »

SUM(IIF(CONTAINS([Infra],'o1'),IIF([Dsl_Indispo_One_Day], 1, 0),0)) / SUM(IIF(CONTAINS([Infra],'o1'),1,0))
image

With the new connector, you can see that it has been replaced by [test] (Why ?) and it is writen that le calculation contains errors.
image

If I change in the [test] in _%NbIndispoDsl to use a condition instead of the « set », namely :

image

Instead of

image

The error disappears.

But, it doesn’t work with an other field.
image

If I do the same, it leads to an invalid calculation

and my dashboards are not displayed...

Thanks for your help.

Fred

@traceon
Copy link
Collaborator

traceon commented Jan 12, 2022

Altinity/tableau-connector-for-clickhouse#19 is the right place to track this issue.

@traceon traceon closed this as completed Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants