raulcd commented on issue #44853:
URL: https://github.com/apache/arrow/issues/44853#issuecomment-2500099338

   Example with a fixed shape tensor on a struct:
   ```python
   >>> schema([field("parent", struct([field("col", 
pa.fixed_shape_tensor(pa.int32(), (1,2)))]))]).empty_table()
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "pyarrow/types.pxi", line 3041, in pyarrow.lib.Schema.empty_table
       arrays = [_empty_array(field.type) for field in self]
     File "pyarrow/array.pxi", line 4823, in pyarrow.lib._empty_array
       arr = array([], type=type)
     File "pyarrow/array.pxi", line 370, in pyarrow.lib.array
       result = _sequence_to_array(obj, mask, size, type, pool, c_from_pandas)
     File "pyarrow/array.pxi", line 42, in pyarrow.lib._sequence_to_array
       chunked = GetResultValue(
     File "pyarrow/error.pxi", line 155, in 
pyarrow.lib.pyarrow_internal_check_status
       return check_status(status)
     File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
       raise convert_status(status)
   pyarrow.lib.ArrowNotImplementedError: extension
   ```


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