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


##########
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:
   Thanks for trying @isidentical  -- I will file a follow on in arrow-rs to 
make this API more ergonomic



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