scovich commented on PR #7914:
URL: https://github.com/apache/arrow-rs/pull/7914#issuecomment-3084880291

   > I think accoding to my reading of 
https://github.com/apache/parquet-format/blob/master/VariantEncoding.md#value-data-for-object-basic_type2,
 the field order can vary from objet to object so when comparing two variants 
for equality the field order should not be taken into account
   
   I thought the fields (as in, the field id array) _did_ need to be in 
(lexical) order? The corresponding value bytes can be out of order but 
hopefully their physical placement doesn't change the logical equality test. 
   
   One observation tho -- an unordered metadata dictionary can have duplicate 
field ids. Two fields have the same name if their field ids are the same, but 
field ids differing does _NOT_ prove that the fields have different names.


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

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

Reply via email to