alamb commented on code in PR #11161:
URL: https://github.com/apache/arrow-rs/pull/11161#discussion_r4149351244


##########
arrow-array/src/ffi_stream.rs:
##########
@@ -533,6 +548,78 @@ impl RecordBatchReader for ArrowArrayStreamReader {
     }
 }
 
+/// An [`ArrayReader`] which imports arrays from an [`FFI_ArrowArrayStream`].
+///
+/// Unlike [`ArrowArrayStreamReader`], the stream's arrays may be of **any** 
data type. This
+/// supports reading a stream of generic arrays that may not represent record 
batches.

Review Comment:
   Ah, got it -- that makes sense. I forgot that RecordBatch is often treated 
as a StructArray outside of arrow-rs 👍 



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