fn compute_partition_keys_by_row<'a>( rb: &'a RecordBatch, partition_by: &'a [(String, DataType)], ) -> Result<Vec<Vec<Cow<'a, str>>>>