etseidl opened a new issue, #10941:
URL: https://github.com/apache/arrow-rs/issues/10941

   ### Describe the bug
   
   parquet-format [GH-607](https://github.com/apache/parquet-format/pull/606) 
adds clarification that in addition to unknown logical type enum variants, 
implementations must also handle unknown combinations of physical type and 
logical type (e.g. an `INT32` column annotated with `UUID`). This crate 
currently checks for unsupported combinations and errors when encountering them.
   
   ### To Reproduce
   
   Try reading the file added in 
https://github.com/apache/parquet-testing/pull/122 
(parquet-testing/data/int32_with_uuid_logical_type.parquet).
   
   ### Expected behavior
   
   Unknown combinations should now be treated as having an unknown logical type 
i.e. on read they should be provided to users as the physical type with no type 
annotation, and statistics should be ignored. It's not clear (to me) what 
should be done on round trip.
   
   It might be good to also log a warning when an unknown type is encountered 
to let users know of the degraded experience.
   
   ### Additional context
   
   We could continue to error on unknown combination, or add a gate to control 
behavior upon encountering unknown types.


-- 
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]

Reply via email to