docs(python): document single-commit RecordBatchReader appends (#5349)

Python callers can pass a `pyarrow.RecordBatchReader` to `add()` to
commit multiple batches as one table version. The insert guide shows the
synchronous and asynchronous calls, when to use separate calls for
independently acknowledged flushes, and the server protocol and catalog
requirements for Enterprise multipart uploads.

Both examples advanced the table by one version on the Enterprise 1.16.0
directory and manifest catalogs with Python SDK 0.42.1.
This commit is contained in:
Xuanwo
2026-12-02 09:16:36 +00:00
committed by GitHub
parent 36814ac87b
commit 16c934a827
5 changed files with 82 additions and 9 deletions
+1 -1
View File
@@ -777,7 +777,7 @@ class RemoteTable(Table):
- pandas.DataFrame
- pyarrow.Table or pyarrow.RecordBatch
- pyarrow.Table, pyarrow.RecordBatch, or pyarrow.RecordBatchReader
mode: str
The mode to use when writing the data. Valid values are
"append" and "overwrite".
+2 -2
View File
@@ -2594,7 +2594,7 @@ class Table(ABC):
- pandas.DataFrame
- pyarrow.Table or pyarrow.RecordBatch
- pyarrow.Table, pyarrow.RecordBatch, or pyarrow.RecordBatchReader
mode: str
The mode to use when writing the data. Valid values are
"append" and "overwrite". Overwrite adopts explicitly declared blob
@@ -8545,7 +8545,7 @@ class AsyncTable:
- pandas.DataFrame
- pyarrow.Table or pyarrow.RecordBatch
- pyarrow.Table, pyarrow.RecordBatch, or pyarrow.RecordBatchReader
mode: str
The mode to use when writing the data. Valid values are
"append" and "overwrite". Overwrite adopts explicitly declared blob