For context Arrow is leaning towards introducing a new 3-field 16-byte
interval type [1]  (int32 months, int32 days, int64 nanos).  This differs
from the existing Interval converted type [2] in Parquet which is all
unsigned and only supports millisecond granularity.  It appears that a
Logical type for interval has not yet been defined [3].

Is there openness to introducing a configurable Logical Type for Intervals
that can support the existing parquet interval definition and the one that
Arrow is considering?

Thanks,
Micah

[1]
https://mail-archives.apache.org/mod_mbox/arrow-dev/202104.mbox/%3CCAK7Z5T-RbbO41cMcYU9bmK-gTH_oNGd%3DS4h27UXMsvPn%2BdO-yA%40mail.gmail.com%3E
[2]
https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift#L875
[3]
https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift#L339

Reply via email to