alamb commented on code in PR #3439:
URL: https://github.com/apache/arrow-datafusion/pull/3439#discussion_r973298975
##########
datafusion/core/src/physical_plan/coalesce_batches.rs:
##########
@@ -291,7 +291,11 @@ pub fn concat_batches(
batches.len(),
row_count
);
- RecordBatch::try_new(schema.clone(), arrays)
+
+ let mut options = RecordBatchOptions::default();
+ options.row_count = Some(row_count);
Review Comment:
FYI https://github.com/apache/arrow-rs/pull/2729 fixed this issue and
https://github.com/apache/arrow-datafusion/pull/3483 includes using the new API.
--
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]