-
Notifications
You must be signed in to change notification settings - Fork 559
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
Query settings session_timezone not being applied #1464
Query settings session_timezone not being applied #1464
Comments
Hey any workaround @tecpcarrier ? I am having the same issue, and it's quite confusing since the following test is doing just fine with the JDBC... SELECT toDateTime('2023-01-01 10:15:20') SETTINGS session_timezone = 'Etc/GMT+5' |
We are experiencing same issue. Seems like |
The reason is in Clickhouse server |
@den-crane seems like the bug is fixed on versions |
@mohaidoss There is a bug on client side - value from the server timezone header is not applied to results (only for RowBinary*) |
Client today doesn't read
After the fix about the header client would convert all |
Thats Exciting @chernser. Let le know if I can be of help :) |
Describe the bug
Clickhouse allows user to set query to multiple level including at the query level. When the setting
session_timezone
is set in dbeaver , the setting is not being picked up. I have looked at this issue #604 where the timezone is set correctly fortoDateTime
but it does not seem to be the case when using this setting. Whenever I usesession_timezone
, the datetime uses the wrong timezone.In this query, the date should be identical to the second column not the third. Running it directly using
clickhouse-client
, the result of this query should be the following:By changing the
session_timezone
, the value in the first column should change to adapt to the new timezone.Configuration
ClickHouse server
The text was updated successfully, but these errors were encountered: