[][src]Function datafusion::execution::physical_plan::limit::truncate_batch

pub fn truncate_batch(batch: &RecordBatch, n: usize) -> Result<RecordBatch>

Truncate a RecordBatch to maximum of n rows