EmilyMatt opened a new issue, #19416:
URL: https://github.com/apache/datafusion/issues/19416

   ### Is your feature request related to a problem or challenge?
   
   We lose opportunities for many optimizations due to not outputting these 
statistics
   
   ### Describe the solution you'd like
   
   In project and similar operators, when encountering a constant column, we 
should be able to output statistics about it, for example min and max values 
should be the same values, the memory usage should be constant etc, such info 
can later be used to optimize sorts and so on. 
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### 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