alamb commented on issue #8828:
URL: https://github.com/apache/arrow-rs/issues/8828#issuecomment-3527420536

   > [null_sentinel: 1 byte][type_id: 1 byte][child_row: variable length]
   
   This encoding makes sense to me and I think has sensible semantics
   
   I think  it would mean that the union array would be ordered such that the 
value with the lowest type id would be ordered before later type id
   
   so fo types like
   ```
   Union (
     Int64,
     Float
   )
   ```
   
   All `Int64` values would be ordered before the `Float` values
   
   Two `Int64` values would be compared according to normal `Int64` rules
   
   


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