noirello / pyorc

Python module for Apache ORC file format
Apache License 2.0
64 stars 21 forks source link

Support for timestamp with local time zone #41

Closed fritzb closed 2 years ago

fritzb commented 3 years ago

There is timestamp with local timezone type in ORC specification, and it does not seem to be supported by pyorc. Schema example: "struct<ts: timestamp with local time zone, num: bigint>"

"timestamp with local time zone" is mapped to TIMESTAMP_INSTANT (18)

Here is a reference: https://issues.apache.org/jira/browse/ORC-790

noirello commented 2 years ago

I waited for an official ORC C++ core lib release that included this update to implement it, which just happened a couple weeks ago.

The implementation is on the master branch and will be included in version 0.5.0.

noirello commented 2 years ago

The new release is just out.