You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/05 02:43:36 UTC

[GitHub] [arrow-rs] tustvold commented on a diff in pull request #3022: Split out arrow-ipc

tustvold commented on code in PR #3022:
URL: https://github.com/apache/arrow-rs/pull/3022#discussion_r1014551892


##########
arrow-array/src/record_batch.rs:
##########
@@ -22,6 +22,24 @@ use crate::{new_empty_array, Array, ArrayRef, StructArray};
 use arrow_schema::{ArrowError, DataType, Field, Schema, SchemaRef};
 use std::sync::Arc;
 
+/// Trait for types that can read `RecordBatch`'s.
+pub trait RecordBatchReader: Iterator<Item = Result<RecordBatch, ArrowError>> {

Review Comment:
   This is moved from the arrow crate to allow using it in arrow-ipc and a future arrow-csv



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org