mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
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:
@@ -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".
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user