You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this driver currently has problem dealing with timezone properly. I'd suggest you to avoid string representation of datetime and use unix timestamp instead. See more information in #623.
jdbc driver (java) automatically converts datetime values into a client timezone (timezone of your desktop).
Clickhouse assumes that you inserted data '2021-07-21 00:00:22' in a server timezone (or column timezone if specified).
clickhouse-client uses clickhouse-server timezone.
I insert a piece of data into the database INSERT INTO t_date select '2021-07-21 00:00:22'.
Then get this data through the jdbc driver? But the result becomes 2021-07-21 08:00:22....
What is the reason for this?
In addition, I found this data directly on the sql client and the result was correct.
The text was updated successfully, but these errors were encountered: