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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   https://github.com/apache/arrow/pull/14547 fixed:
   
   ```python
   import pyarrow as pa
   pa.array([{'a': 1, 'b': 2}, {'c': 3}], pa.map_(pa.string(), pa.int64()))
   ```
   
   to work. However, it missed nested case. For example the code below:
   
   ```python
   import pyarrow as pa
   pa.array([[{'a': 1, 'b': 2}, {'c': 3}]], pa.list_(pa.map_(pa.string(), 
pa.int64())))
   ```
   
   It currently fails with the error below:
   
   ```
   pyarrow.lib.ArrowTypeError: Could not convert {'a': 1, 'b': 2} with type 
dict: was not a sequence or recognized null for conversion to list type
   ```
   
   See also https://github.com/apache/arrow/issues/33053 and 
https://github.com/apache/arrow/issues/14116
   
   ### 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