alamb commented on code in PR #8219:
URL: https://github.com/apache/arrow-datafusion/pull/8219#discussion_r1397610137
##########
datafusion/optimizer/src/push_down_projection.rs:
##########
@@ -228,7 +228,7 @@ impl OptimizerRule for PushDownProjection {
// Gather all columns needed for expressions in this Aggregate
let mut new_aggr_expr = vec![];
for e in agg.aggr_expr.iter() {
- let column = Column::from(e.display_name()?);
+ let column = Column::from_name(e.display_name()?);
Review Comment:
No problem. The real problem is that we had no test coverage for it :(
--
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]