amol- commented on code in PR #44126:
URL: https://github.com/apache/arrow/pull/44126#discussion_r1769565767


##########
python/pyarrow/table.pxi:
##########
@@ -6259,6 +6259,56 @@ def concat_tables(tables, MemoryPool memory_pool=None, 
str promote_options="none
     return pyarrow_wrap_table(c_result_table)
 
 
+def concat_recordbatches(recordbatches, MemoryPool memory_pool=None):
+    """
+    Concatenate pyarrow.RecordBatch objects.
+
+    All recordbatches must share the same Schema,

Review Comment:
   Yes, the C++ function takes for granted the schema is the same or will 
error. 
   The behavior seems to be consistent with the Rust implementation by the way, 
which doesn't seem to offer casting options: 
https://github.com/apache/arrow-rs/blob/d727503e4d52d40d7215a42398b02d58e964ed01/arrow-select/src/concat.rs#L214-L225



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