dongjoon-hyun commented on issue #2049: URL: https://github.com/apache/orc/issues/2049#issuecomment-2432693875
To @bdice , according to our official Java tool, the type of column `time` is `timestamp` without timezone, isn't it? ``` $ orc-tools version ORC 2.0.2 $ orc-tools meta ./examples/TestOrcFile.testDate1900.orc | grep Type Processing data file examples/TestOrcFile.testDate1900.orc [length: 30941] Type: struct<time:timestamp,date:date> ``` Given that there is no timezone, I'm not sure if the root cause is the file. - https://orc.apache.org/docs/types.html#timestamps > ORC includes two different forms of timestamps from the SQL world: > - Timestamp is a date and time without a time zone, which does not change based on the time zone of the reader. > - Timestamp with local time zone is a fixed instant in time, which does change based on the time zone of the reader. Instead, it looks like the C++ library side issue because `orc-metadata` is based on C++ library. BTW, ORC-1481 was fixed already at Apache ORC 2.0.0. Do you mean that you hit this issue with Apache ORC 2.0+? - https://github.com/apache/orc/pull/1587 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
