Skip to main content

Schema module · batch API

TableBatch

A table batch is a bounded unit of records emitted by streaming loaders and scans. It keeps progressive processing compatible with both row-oriented and Arrow-backed data.

The batch boundary

Process data while the rest is still arriving.

Batches provide a stable unit for incremental parsing, worker transfer, filtering, and rendering. The batch shape tells consumers how to interpret its payload.

Rows

RowTableBatch for object or array records

Columns

ColumnarTableBatch for column data

Arrow

Native Apache Arrow RecordBatch

Progress

Optional byte and record progress metadata

Detailed guide

TableBatch reference

The sections below list the supported batch families and their relationship to Arrow record batches.

  • RowTableBatch
  • ColumnarTableBatch

Arrow streams yield native Apache Arrow RecordBatch objects. The batch schema carries table-level metadata and batch.metadata carries batch-local information.