Skip to content

Commit

Permalink
fix use of name in Column
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Nov 15, 2023
1 parent abb2ae7 commit 5ee5697
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/optimizer/src/push_down_projection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?);
if required_columns.contains(&column) {
new_aggr_expr.push(e.clone());
}
Expand Down
Empty file.

0 comments on commit 5ee5697

Please sign in to comment.