alamb commented on issue #7000:
URL: https://github.com/apache/datafusion/issues/7000#issuecomment-2096478583

   > Introduce Dictionary feature. Consider Users table as a dictionary (like 
in [clickhouse](https://clickhouse.com/docs/en/sql-reference/dictionaries))
   
   This is an excellent idea -- Arrow has something equivalent for 
[`DictionaryArray`](https://docs.rs/arrow/latest/arrow/array/struct.DictionaryArray.html)
 and minimize the copying required
   
   Something else that might help is to use 
[StringViewArray](https://github.com/apache/arrow-rs/issues/5374) when 
coalescing which would avoid a copy. This might be quite effective if the next 
operation was GroupByHash or sort where the data would be copied again 🤔  I 
think the next release of arrow-rs might have sufficient functionality to try it
   
   > Introduce row-based table provider with its special type of 
LookupRecordBatchStream
   
   I wonder if we could combine this with something like 
https://github.com/apache/datafusion/issues/7955 🤔 
   
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to