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
If I insert DateTime values in DateTime columns in table they will have +10 hours offset.
For example 03.10.2017 12:30:00 becomes 03.10.2017 22:30:00.
It doesn't matter whether date is utc or local, it will be changed +10 hours anyway. I tested databases on different servers, one with +3 utc, other with +5 utc and other with +10 utc. But all of those had +10 hours offset. I am now in Vladivostok which has +10 utc. So I thought maybe it was the reason of the problem. I tried to change time on my local machine, but that changed nothing.
I tried to insert DateTime values using other ClickHouse clients such as DBeaver. And it worked nice. DateTime values were being inserted as they had to be. So I decided that problem in ClickHouse.ADO.
I researched your source and tried changing value of "use_client_time_zone" in QuerySettings, but it didn't help. I also have known than you calculate DateTime as a number of seconds since Unix date and then pass bytes of that number to the stream. So maybe problem is somewhere around it? What do you think?
The text was updated successfully, but these errors were encountered:
Hi, Andrey.
I'm using ClickHouse.ADO
If I insert DateTime values in DateTime columns in table they will have +10 hours offset.
For example 03.10.2017 12:30:00 becomes 03.10.2017 22:30:00.
It doesn't matter whether date is utc or local, it will be changed +10 hours anyway. I tested databases on different servers, one with +3 utc, other with +5 utc and other with +10 utc. But all of those had +10 hours offset. I am now in Vladivostok which has +10 utc. So I thought maybe it was the reason of the problem. I tried to change time on my local machine, but that changed nothing.
I tried to insert DateTime values using other ClickHouse clients such as DBeaver. And it worked nice. DateTime values were being inserted as they had to be. So I decided that problem in ClickHouse.ADO.
I researched your source and tried changing value of "use_client_time_zone" in QuerySettings, but it didn't help. I also have known than you calculate DateTime as a number of seconds since Unix date and then pass bytes of that number to the stream. So maybe problem is somewhere around it? What do you think?
The text was updated successfully, but these errors were encountered: