Repository navigation
Support write orc file by custom time zone - #70615
Conversation
There was a problem hiding this comment.
It's output, not input.
|
This is an automated comment for commit 4023b39 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
4603f55 to
1b7ba37
Compare
|
could you help to merge this pr @alexey-milovidov |
|
Yes, this is approved, but a few unrelated tests have failed. We need to resolve it... |
19f3b0e to
a635b31
Compare
12a0582 to
530929c
Compare
|
@KevinyhZou, are you sure it is GMT, not UTC? |
Yes, orc writer time zone default value is |
|
Hi @KevinyhZou @alexey-milovidov — while reviewing this PR I found the following:
Happy to discuss — close anything that's wrong or already addressed. |
ORC format file write always use the default
GMTtime zone, when we write adateTime64type field in a local time zone (likeAsia/Shanghai), it will make the write value wrong.In my case, when write a value with local timezone
2024-10-09 20:00:00, but it written the value as2024-10-09 12:00:00, related to issue: apache/gluten#7502Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Support write orc file by custom time zone, not always by
GMTtime zoneDocumentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):