XiangpengHao commented on issue #5861:
URL: https://github.com/apache/arrow-rs/issues/5861#issuecomment-2161024921

   StringViewArray --> DictionaryArray<IndexType, LargeUtf8> will copy strings.
   The current implementation is handled in 
https://github.com/XiangpengHao/arrow-rs/blob/view-to-dict/arrow-cast/src/cast/dictionary.rs#L259-L283
   Which first cast the StringViewArray to StringArray then insert to 
dictionary one by one. A better approach is probably to directly insert items 
in StringViewArray to dictionary array.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to