You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/03/16 16:34:09 UTC
[GitHub] [arrow-rs] tustvold commented on issue #3875: Is it possible to write a map?
tustvold commented on issue #3875:
URL: https://github.com/apache/arrow-rs/issues/3875#issuecomment-1472313326
> I would appreciate any examples
There is an example using MapArrayBuilder - https://github.com/apache/arrow-rs/blob/master/parquet/src/arrow/array_reader/map_array.rs#L146
And an example using the JSON reader - https://github.com/apache/arrow-rs/blob/master/arrow-json/src/raw/mod.rs#L607
The documentation could definitely be improved for handling this particular type
> Take not supported for data type
This looks like a failure in `model::tests::zip_batches`, that is calling the `take` kernel which doesn't currently support MapArray, not anything to do with parsing the MapArray itself.
--
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