You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/03 22:47:29 UTC

[GitHub] [arrow-rs] HaoYang670 commented on issue #1642: MapArray Requires Values Array

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: github-unsubscribe@arrow.apache.org

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