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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Instantiating an array with a `JsonType` works without a problem:
   
   ```
   import pyarrow
   
   json_type = pyarrow.json_()
   
   array = pyarrow.array(
       [
           "{'a': 1}"
       ],
       type=json_type,
   )
   ```
   
   Trying the same, but wrapping the JsonType inside a ListType doesn't work 
though:
   
   ```
   list_json_type = pyarrow.list_(json_type)
   list_array = pyarrow.array(
       [
           [
               "{'a': 1}"
           ]
       ],
       type=list_json_type,
   )
   ```
   
   =>
   
   ```
   Traceback (most recent call last):
     File "test.py", line 14, in <module>
       list_array = pyarrow.array(
     File "pyarrow/array.pxi", line 372, in pyarrow.lib.array
     File "pyarrow/array.pxi", line 42, in pyarrow.lib._sequence_to_array
     File "pyarrow/error.pxi", line 155, in 
pyarrow.lib.pyarrow_internal_check_status
     File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
   pyarrow.lib.ArrowNotImplementedError: extension
   ```
   
   ```
   $ python -c "import pyarrow; print(pyarrow.__version__)"
   19.0.0
   ```
   
   It seems to be the same across all extension types, one can see similar 
behaviour for `FixedShapeTensor` type for example.
   
   ### 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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to