clickhouse-tableau-connector-jdbc
clickhouse-tableau-connector-jdbc copied to clipboard
DateTime('UTC') is not recognized as timestamp in Tableau
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.