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

   This is a follow on from https://github.com/apache/arrow-rs/pull/7878
   
   Per the spec, `VariantList` and `VariantMetadata` must have offsets encoded 
in monotonically increasing order. 
   
   We currently do this here: 
   
   
https://github.com/apache/arrow-rs/blob/387490a7a97a9ea6d2fcd0105e6a1abaf819a386/parquet-variant/src/variant/list.rs#L222-L230
   
   and 
   
   
https://github.com/apache/arrow-rs/blob/387490a7a97a9ea6d2fcd0105e6a1abaf819a386/parquet-variant/src/variant/metadata.rs#L240-L248
   
   
   Since we later loop over these offsets to access elements in the respective 
buffers, any non-monotonic offset range would err when accessing elements. 


-- 
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-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to