Support basic timestamp in the iceberg connector#17190
Support basic timestamp in the iceberg connector#17190beinan merged 1 commit intoprestodb:masterfrom
Conversation
c04839e to
2906e2d
Compare
|
Note that this PR won't completely resolve the timestamp querying issue from the presto-iceberg connector (e.g. the millisecond unit issue mentioned by @beinan). This PR helps create initial features to support timestamps. |
There was a problem hiding this comment.
non-blocking: I'm not sure if we should user's local timezone or just utc here. what do you think?
There was a problem hiding this comment.
Per our discussion, I removed the timestamp with time zone feature as it requires extra work in the parquet/ORC reader.
There was a problem hiding this comment.
merge the three if for DATE/TIME/TIMESTAMP?
There was a problem hiding this comment.
Thanks for the comment! I merged them into one if statement.
There was a problem hiding this comment.
any test to cover the time with zone?
There was a problem hiding this comment.
The timestamp with time zone will require changes in the ORC/parquet readers underneath. So I remove the timestamp with time zone support temporarily for now.
2906e2d to
7605291
Compare
|
As mentioned by @beinan, the timestamp with time zone feature requires extra changes in the ORC/Parquet readers. As this PR only serves as the first PR to support the basic timestamp feature, I removed the code for the timestamp with time zone. |
7605291 to
79a6cff
Compare
Cherry-pick iceberg timestamp support from trinodb/trino@e82c2d5 Co-Authored-By: Parth Brahmbhatt <pbrahmbhatt@netflix.com>
79a6cff to
5242e77
Compare
zhenxiao
left a comment
There was a problem hiding this comment.
looks good, @ChunxuTang
could you please add release note in the PR description:
Support basic timestamp in the iceberg connector
Hi @zhenxiao, thanks for the review! |
Cherry-pick iceberg timestamp support from trinodb/trino@e82c2d5
Co-Authored-By: Parth Brahmbhatt pbrahmbhatt@netflix.com
Test plan - Unit test