rok commented on issue #37669:
URL: https://github.com/apache/arrow/issues/37669#issuecomment-1748818894
Seems to also happen for `FixedSizeListArray`:
```python
import pyarrow as pa
inner = pa.array([float(x) for x in range(1, 7)] + [None] * 12, pa.float32())
storage = pa.FixedSizeListArray.from_arrays(inner, 6)
class TensorTyp(pa.ExtensionType):
def __arrow_ext_serialize__(self):
return b""
tensor_typ = TensorTyp(pa.list_(pa.float32(), 6), "tensor_typ")
f32_array = pa.ExtensionArray.from_storage(tensor_typ, storage)
storage.cast(tensor_typ)
```
--
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]