fn compute_take_arrays( rb: &RecordBatch, all_partition_values: Vec<Vec<Cow<'_, str>>>, ) -> HashMap<Vec<String>, UInt64Builder>