Rich-T-kid opened a new issue, #24117:
URL: https://github.com/apache/datafusion/issues/24117

   ### Is your feature request related to a problem or challenge?
   
   Even with good stats available, there's no optimizer rule that uses them to 
decide whether a string column should be dictionary-encoded.
   
   ### Describe the solution you'd like
   
   Add a physical plan optimization pass that looks at column statistics (NDV, 
aggregation heaviness) as well as user-defined flags/thresholds, and decides 
whether to encode a given string column as a dictionary array.
   
   Will need extensive testing and benchmarking to decide whether this should 
be enabled by default.
   
   ### Describe alternatives you've considered
   
   Final piece of : #22891
   
   part of epic :  #24111
   
   
   ### Additional context
   
   _No response_


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