Open rohanpednekar opened 3 years ago
Wating for Trino PR7252 to be merged.
@rohanpednekar PR submitted. With this change, Presto can accept parameter timeZoneID but it relies on the client to pass the parameter. Currently neither presto-cli nor Tableau has that option. After this PR is merged, we should add an option to presto-cli.
Thanks @v-jizhang for your contribution. We will get this reviewed.
@rohanpednekar The issue could be closed as implemented and released.
Timestamp which is created with UTC timezone is not reflecting the same timezone when queried from Tableau. Instead, tableau gives a timezone local to the machine where it is running.
Repro steps:
Insert a sample value insert into msgs (msg) values('test');
java -Duser.timezone=UTC -jar presto --server https://preddy.ahana-test.cp.ahana.cloud:443 --catalog ttt --user prabhakar --password --debug
Adding a new JDBC driver parameter - 'TimeZoneID' similar to trino PR 7252 may fix this issue.