Query.to_arrow_batch_iterator
Last updated
Was this helpful?
Last updated
Was this helpful?
Returns an iterator that can be used to consume query results in chunks of PyArrow RecordBatches. Allows for streaming workflows where only a small portion of the query results are read into memory at a time.
max_results
: int, default None
The maximum number of rows to return. If not specified, all rows in the query results will be read.
progress
: bool, default True
Whether to show a progress bar.
See also