pub(crate) fn string_view_to_dictionary<K, O: OffsetSizeTrait>( array: &dyn Array, ) -> Result<ArrayRef, ArrowError>where K: ArrowDictionaryKeyType,