alamb commented on code in PR #8219:
URL: https://github.com/apache/arrow-datafusion/pull/8219#discussion_r1394815402
##########
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:
This change was done in https://github.com/apache/arrow-datafusion/pull/7981
-- it doesn't seem necessary and I think was just a mistake (and did not have
adequate test coverage)
--
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]