alamb commented on code in PR #3439:
URL: https://github.com/apache/arrow-datafusion/pull/3439#discussion_r971200102


##########
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:
   Filed https://github.com/apache/arrow-rs/issues/2728 as a follow on (I also 
hit the same thing in https://github.com/apache/arrow-datafusion/pull/3454 FWIW)



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