pub fn mock_batch(n: usize) -> RecordBatch
Creates a test RecordBatch with n rows.
RecordBatch
n
Panics if the batch cannot be created (should not happen with valid inputs).