Skip to content

Commit

Permalink
fix: Fix error in projection pushdown (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
waralexrom authored Sep 11, 2023
1 parent 7792549 commit 653a483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/src/optimizer/projection_push_down.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ fn optimize_plan(
true,
execution_props,
)?);
let all_expr = group_expr.iter().chain(aggr_expr.iter());
let all_expr = group_expr.iter().chain(new_aggr_expr.iter());
let new_schema =
DFSchema::new(exprlist_to_fields(all_expr, new_input.schema())?)?;

Expand Down

0 comments on commit 653a483

Please sign in to comment.