Tom-Newton commented on issue #41469:
URL: https://github.com/apache/arrow/issues/41469#issuecomment-2088738164
So it turns out the bug is also only reproducible when numpy is imported
prior to pyarrow. So my current smallest reproduce is
```
import numpy as np
import pyarrow as pa
def record_batches_to_chunked_array(batch):
for c in pa.Table.from_batches([batch]).itercolumns():
yield c
with open("/tmp/arrow_stream", "rb") as read_file:
with pa.ipc.open_stream(read_file) as reader:
schema = reader.schema
for batch in reader:
[c.to_pandas(date_as_object=True) for c in
record_batches_to_chunked_array(batch)]
print("SUCCESS")
```
Where the file is as in my previous comment
[arrow_stream.txt](https://github.com/apache/arrow/files/15179124/arrow_stream.txt)
--
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]