pub(crate) fn rows_within_budget( batch: &RecordBatch, start: usize, end: usize, budget: usize, json_columns: &[usize], ) -> Result<(usize, usize)>