-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for reading DateTime(timezone) from ClickHouse
Previously Trino only supported reading `DateTime` from ClickHouse (no timezone specified) and for `DateTime(timezone)` users had to configure the parameter `unsupported-type-handling` or `jdbc-types-mapped-to-varchar` to support reading of this type. This commit supports reading `DateTime(timezone)` from ClickHouse and maps it to Trino's `TIMESTAMP(0) WITH TIME ZONE`. NOTE: writing data from Trino to ClickHouse `DateTime(timezone)` is not supported.
- Loading branch information
1 parent
5320ccd
commit 55656b7
Showing
3 changed files
with
102 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters