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

   ### Describe the bug
   
   `ProjectionExprs::project_statistics` uses `std::mem::take` to move an input 
column's `ColumnStatistics` into the output when given a direct column 
reference. This means if the column is referenced again (either directly or in 
a `CAST` expression), the statistics are `Absent`.
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _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