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

   > The value in the parquet file is the bit pattern 0xffffffee.
   
   Right, which is out of range for a uint8...
   
   >  Because the annotation in the parquet schema says the value is unsigned 
and 8 bits we must interpret the bit pattern as an unsigned 8 bit integer and 
produce 238.
   
   Can you point to where in the specification it says to do this? I can't help 
feeling we are exploring the undefined behaviour alluded to in the specification
   
   > If a stored value is larger than the maximum allowed by the annotation, 
the behavior is not defined and can be determined by the implementation. 


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