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

Presto Connector for Tableau #2592

Closed
mallika-singhi opened this issue Jan 23, 2020 · 5 comments
Closed

Presto Connector for Tableau #2592

mallika-singhi opened this issue Jan 23, 2020 · 5 comments

Comments

@mallika-singhi
Copy link

Timestamp conversion done incorrectly while connecting presto connector as data source in Tableau.

Database details as follows:
presto:default> select user_id,authorized_date from taxonomy.dim_users where user_id = 2325954;
user_id | authorized_date
2325954 | 2018-07-01 00:19:36.000

hive> select user_id,authorized_date from taxonomy.dim_users where user_id = 2325954;
user_id authorized_date
**2325954 2018-07-01 00:19:36
Screenshot 2020-01-20 at 1 04 59 PM
Screenshot 2020-01-20 at 1 05 07 PM

**

Tableau s/s as attached .

Please look into this and let me know if you need any more details from my end

Thanks,
Mallika Singhi

@findepi
Copy link
Member

findepi commented Jan 23, 2020

Timestamp is presented in session timezone-dependent form.
So the textual representation you see depends on where you run the client.
See more #37
You can configure the session timezone eg to UTC -- instructions depend on the library you use.

Are you using JDBC or ODBC with Tableau?
(AFAICT it supports both now)

@mallika-singhi
Copy link
Author

thanks the the reply.

using presto connector directly to connect to Tableau ,s/s attached for the same.
Screenshot 2020-01-23 at 6 31 20 PM

Any way i change the timezone ?

@findepi
Copy link
Member

findepi commented Jan 23, 2020

@mallika-singhi is it something called a "Web Connector" in Tableau?
(pardon my questions; as you see, i'm not Tableau expert)

@mallika-singhi
Copy link
Author

no its not a web connector.
Its directly a presto driver connector.
Presto version i have used is SimbaPresto1.1-64-bit (1).msi

Links for reference:
https://www.tableau.com/support/drivers
https://help.tableau.com/current/pro/desktop/en-us/examples_presto.htm

@findepi
Copy link
Member

findepi commented Jan 24, 2020

@mallika-singhi please add TimeZoneID=UTC to the odbc connection string.

Also, please join our slack https://prestosql.io/slack.html, it has dedicated #troubleshooting channel.

let me close the issue as answered, you can still comment here, or move to slack

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

No branches or pull requests

2 participants