You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/30 19:46:21 UTC

[GitHub] [arrow-rs] tustvold commented on issue #2984: Implicity setting of converted type is missing then setting

tustvold commented on issue #2984:
URL: https://github.com/apache/arrow-rs/issues/2984#issuecomment-1296336652

   The PrimitiveTypeBuilder shoudl add the converted type automatically when applicable - https://github.com/apache/arrow-rs/blob/master/parquet/src/schema/types.rs#L307.
   
   However, according to the [format docs](https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#deprecated-time-convertedtype).
   
   > TIME_MILLIS is the deprecated ConvertedType counterpart of a TIME logical type that is UTC normalized and has MILLIS precision. Like the logical type counterpart, it must annotate an int32.
   >
   > TIME_MICROS is the deprecated ConvertedType counterpart of a TIME logical type that is UTC normalized and has MICROS precision. Like the logical type counterpart, it must annotate an int64.
   
   Are any of the following possible:
   
   * The time unit is nanoseconds
   * The timeunit is milliseconds but being written as Int64
   * The timeunit is microseconds but being written as Int32


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org