adriangb opened a new issue, #39010:
URL: https://github.com/apache/arrow/issues/39010

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ```python
   import pyarrow as pa
   
   schema = pa.schema([pa.field('x', pa.map_(pa.string(), pa.int64()))])
   data = [{'x': {'a': 1}}]
   pa.RecordBatch.from_pylist(data, schema=schema).to_pylist()
   # [{'x': [('a', 1)]}]
   ```
   
   I understand that this may be how it's stored internally but I feel like it 
should be converted to a dict. 
   
   Using `struct` is not an option because my keys are not fixed.
   
   ### Component(s)
   
   Python


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