fn primary_key_offsets( pk_dict_array: &DictionaryArray<UInt32Type>, ) -> Result<Vec<usize>>
Compute offsets of different primary keys in the array.