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
Describe the bug
ProjectionExprs::project_statisticsusesstd::mem::taketo move an input column'sColumnStatisticsinto the output when given a direct column reference. This means if the column is referenced again (either directly or in aCASTexpression), the statistics areAbsent.To Reproduce
No response
Expected behavior
No response
Additional context
No response