XiangpengHao commented on issue #9403:
URL: https://github.com/apache/datafusion/issues/9403#issuecomment-2231064706

   One crazy idea I've been thinking: if the string view is loaded from 
dictionary-encoded parquet, then the underlying buffers are unique (i.e., no 
duplicated values), then the view values are essentially the hash of the string 
-> if two strings are the same, the share the same view value; if they are 
different, they must have different view values.
   Then we can just pass the view array to the arrow-row converter instead of 
the potentially large `StringViewArray`.
   
   I'm not sure how fast we can get from this, my guess is that the performance 
gain may not justify the changes it requires.
   
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to