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/09/14 21:56:48 UTC

[GitHub] [arrow] oleksandr-yatsuk commented on issue #14116: Python dict to map

oleksandr-yatsuk commented on issue #14116:
URL: https://github.com/apache/arrow/issues/14116#issuecomment-1247341574

   @drin thank you for the response.
   Our input is JSON which is deserialized to python `dict` as I posted, it is not an array of tuples.
   Changing the `pyarrow_schema` to 'array of arrays
   ```
   pyarrow_schema = schema([
           field('id', int64(), False),
           field('tags', list_(list_(string())), False)
       ])
   ```
   works as well.
   Do you know if there is any way to save a python `dict` as a `map` (but not struct) parquet column?


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