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
So I think the range of Date types should also be extended in Trino, and the change we may need to make is to pick the corresponding Date range according to the different ClickHouse Server versions.
The text was updated successfully, but these errors were encountered:
@tangjiangling Should I re-open this since only part of this is done. The other part probably requires reworking Trino DATE type to support even larger values?
I've confirmed that from version 21.4,
Date
types are supported in the range1970-01-01
-2149-06-06
.We can refer to
But the range of
Date
in Trino is1970-01-01
-2106-02-07
.https://github.com/trinodb/trino/blob/master/plugin/trino-clickhouse/src/main/java/io/trino/plugin/clickhouse/ClickHouseClient.java#L158-L159
So I think the range of
Date
types should also be extended in Trino, and the change we may need to make is to pick the correspondingDate
range according to the different ClickHouse Server versions.The text was updated successfully, but these errors were encountered: