HaoYang670 commented on issue #1642:
URL: https://github.com/apache/arrow-rs/issues/1642#issuecomment-1116731396

   > I'm not actually entirely sure, the arrow specification doesn't seem to 
describe the semantics of Map Arrays
   
   `MapArray` seems like a logic type of `ListArray` whose child is a 
`StructArray`.
   ```rust
   /// [MapArray] is physically a [crate::array::ListArray] that has a
   /// [crate::array::StructArray] with 2 child fields.
   pub struct MapArray {
       data: ArrayData,
       values: ArrayRef,
       value_offsets: RawPtrBox<i32>,
   }
   ```


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