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

DateTime('UTC') is not recognized as timestamp in Tableau #39

Open
vlauzeckas opened this issue Aug 23, 2022 · 10 comments
Open

DateTime('UTC') is not recognized as timestamp in Tableau #39

vlauzeckas opened this issue Aug 23, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@vlauzeckas
Copy link

Not sure it issue with the connector or JDBC driver itself, but i noticed strange behavior:

Add such query as custom SQL:
select toDateTime('2022-08-23 02:52:53') as tz, toTypeName(tz) as tz_type, toDateTime('2022-08-23 02:52:53', 'UTC') as tz_utc, toTypeName(tz_utc) as tz_utc_type

tz_utc - is not recognized as Timesstamp in tableau. You can change it on tableau level, but that would add huge overhead of casting string to datetime.

image

@artshevchenko artshevchenko added the bug Something isn't working label Aug 23, 2022
@yurifal
Copy link
Contributor

yurifal commented Aug 24, 2022

hi @vlauzeckas
it looks like Tableau doesn't read the timezone Metadata from the [tz_utc] column,
so it couldn't recognise the data type "DateTime with timezone"
(it would return NULL as evident in Describe).

@vlauzeckas
Copy link
Author

but thats a bit of a problem. if data type "DateTime with timezone" tableau does not recognize. you can force it to cast, but that's big overhead and lead to not optimal queries.

@yurifal
Copy link
Contributor

yurifal commented Aug 27, 2022

I understand, but have neither a fix nor a workaround (other than obvious CASTing), sorry.

@gonchik
Copy link

gonchik commented Sep 11, 2022

@yurifal how does it works previously? :)
We met after upgrading driver and platform Tableau.

@vlauzeckas did you met after upgrade driver or after upgrading Tableau?
It so, maybe we have to together escalate to the Tableau ? :)

@yurifal
Copy link
Contributor

yurifal commented Sep 11, 2022

@gonchik how does it works previously? :)
it doesn't work (and it had not been working as far as I'm aware of).

@gonchik
Copy link

gonchik commented Sep 11, 2022

@yurifal Noted, let me push back the BI team :)
Thanks for the fast response

@yurifal
Copy link
Contributor

yurifal commented Sep 11, 2022

@gonchik you're welcome.

@vlauzeckas
Copy link
Author

@yurifal how does it works previously? :) We met after upgrading driver and platform Tableau.

@vlauzeckas did you met after upgrade driver or after upgrading Tableau? It so, maybe we have to together escalate to the Tableau ? :)

Sorry, where did i mentioned upgrade?:)

@gonchik
Copy link

gonchik commented Sep 12, 2022

@vlauzeckas it's my mistake, it's a pity that I failed the exam in clairvoyance.
I found that one after upgrades that's why I have asked

@silentsokolov
Copy link

Any news? The same problem

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants