amol- commented on code in PR #44126:
URL: https://github.com/apache/arrow/pull/44126#discussion_r1769565939
##########
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,
+ the operation is guaranteed to be zero-copy.
Review Comment:
Ops, you are right, I don't know why I was thinking of creating a
RecordBatch from a set of arrays and not about extending the arrays themselves.
--
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]