Skip to main content

compute_parallel_channel_size

Function compute_parallel_channel_size 

Source
pub(crate) fn compute_parallel_channel_size(
    estimated_rows_per_batch: usize,
) -> usize
Expand description

Computes the channel size for parallel scan based on the estimated rows per batch. The channel should buffer approximately 2 * DEFAULT_READ_BATCH_SIZE rows.