Skip to main content

Module batch_size

Module batch_size 

Source
Expand description

Utilities for choosing an execution batch size from source statistics.

Constantsยง

TARGET_BATCH_BYTES ๐Ÿ”’
Approximate decoded bytes to produce in one batch.

Functionsยง

estimate_batch_size
Estimates a batch size from (num_rows, estimated_bytes) pairs.
estimate_row_width ๐Ÿ”’
Returns the ceiling of the estimated bytes per row.