jonded94 commented on PR #8790:
URL: https://github.com/apache/arrow-rs/pull/8790#issuecomment-3536535648

   Okay, I think the error was in `impl Iterator for ArrowArrayStreamReader`. 
That actually did not correctly exposed RecordBatches that have metadata 
attached, but was just directly constructing `RecordBatch` from `StructArray` 
(which is metadata less by definition).
   
   With that, consuming `pyarrow.Table` through the PyCapsule interface (and 
not with its custom `Table.to_batches()` method) seems to work now.
   
   @alamb @kylebarron let me know whether the change of `impl Iterator for 
ArrowArrayStreamReader` in `arrow-array/src/ffi_stream.rs` is okay.


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