You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data: The data to append in one of the following forms:
287
-
- AppendTableDataRequest: Sent as-is via JSON. ``end_of_data`` must be ``None``.
288
-
- DataFrame (service model): Wrapped into an AppendTableDataRequest (``end_of_data`` optional) and sent as JSON.
289
-
- Iterable[pyarrow.RecordBatch]: Streamed as Arrow IPC. ``end_of_data`` (if provided) is sent as a query parameter. If the iterator yields no batches, it is treated like ``None`` and requires ``end_of_data``.
290
-
- None: ``end_of_data`` must be provided; sends JSON containing only the ``endOfData`` flag.
291
-
end_of_data: Whether the table should expect any additional rows to be appended in future requests. Required when ``data`` is ``None`` or an empty RecordBatch iterator; must be omitted when supplying an ``AppendTableDataRequest`` (put it inside that model instead).
290
+
data: The data to append. Supported forms:
291
+
* AppendTableDataRequest: Sent as-is via JSON; ``end_of_data`` must be ``None``.
292
+
* DataFrame (service model): Wrapped into an AppendTableDataRequest (``end_of_data``
293
+
optional) and sent as JSON.
294
+
* Iterable[pyarrow.RecordBatch]: Streamed as Arrow IPC. ``end_of_data`` (if provided)
295
+
is sent as a query parameter. If the iterator yields no batches, it is treated as
296
+
``None`` and requires ``end_of_data``.
297
+
* None: ``end_of_data`` must be provided; sends JSON containing only the
298
+
``endOfData`` flag.
299
+
end_of_data: Whether additional rows may be appended in future requests. Required when
300
+
``data`` is ``None`` or the RecordBatch iterator is empty; must be omitted when
301
+
passing an ``AppendTableDataRequest`` (include it inside that model instead).
292
302
293
303
Raises:
294
304
ValueError: If parameter constraints are violated.
295
-
ApiException: If unable to communicate with the DataFrame Service or an invalid argument is provided.
305
+
ApiException: If unable to communicate with the DataFrame Service or an
0 commit comments