Skip to main content

estimate_batch_bytes_upper_bound

Function estimate_batch_bytes_upper_bound 

Source
fn estimate_batch_bytes_upper_bound(
    batch: &RecordBatch,
    rows: usize,
    json_columns: &[usize],
) -> Result<Option<usize>>
Expand description

Estimates a conservative byte upper bound with bounded work on an async task. None means this path cannot estimate the batch, not that it exceeds a budget.