fn build_batch( left_index: usize, batch: &RecordBatch, left_data: &RecordBatch, schema: &Schema, ) -> Result<RecordBatch>