alamb commented on PR #5545:
URL: 
https://github.com/apache/arrow-datafusion/pull/5545#issuecomment-1469925891

   BTW another reason this change is an improvement, in my mind, is that it 
allows users to tradeoff between more efficient encoding (e.g. Dict(Int8, 
Utf8)) and supporting more distinct values (Dict(Int16, Utf8)). 
   
   I think originally the code always used Dictionary(Int8, ..) and someone had 
the usecase with more than 256 distinct values (files) so we increased the size 
to Dict(Int16, ...).
   
   So this change now allows people to make that tradeoff explcitly


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