Closed MaceWindu closed 6 months ago
I have the same problem. I think this project isn't maintained anymore. I'll try to fix that in my fork.
Edit: I submitted a pull request for this issue. If you still can use it and can't wait for the pull request to be merged, you can use my fork: https://github.com/MrDoe/ClickHouseClient
I changed ranges of supported values to [1900-01-01 00:00:00
, 2299-12-31 23:59:59.99999999
] for DateTime64
and to [1900-01-01
, 2299-12-31
] for Date32
. Also, the client doesn't return default(DateTime)
for 1970-01-01
anymore.
The bug was fixed in the version 3.1.2.
From error it looks like values read as UInt64 instead of Int64
Originally posted by @MaceWindu in https://github.com/Octonica/ClickHouseClient/issues/60#issuecomment-1172932038