Skip to main content

analyze_batch_per_column

Function analyze_batch_per_column 

Source
pub fn analyze_batch_per_column(batch: &RecordBatch) -> Vec<ColumnStatistics>
Expand description

Compute per-column statistics for every column in batch.

Returns a Vec<ColumnStatistics> aligned with batch.schema() — one entry per field. NDV is per-column, exact up to EXACT_NDV_CAP.