Function datafusion::physical_plan::limit::truncate_batch
source · [−]pub fn truncate_batch(batch: &RecordBatch, n: usize) -> RecordBatch
Expand description
Truncate a RecordBatch to maximum of n rows
pub fn truncate_batch(batch: &RecordBatch, n: usize) -> RecordBatch
Truncate a RecordBatch to maximum of n rows