Skip to content

Commit

Permalink
Update datafusion/optimizer/src/common_subexpr_eliminate.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Jun 17, 2024
1 parent 67f6be2 commit 03e4cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/optimizer/src/common_subexpr_eliminate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl CommonSubexprEliminate {
transformed |= rewrite_exprs.transformed;

let new_input = self.rewrite(input, config)?;
transformed |= rewrite_exprs.transformed;
transformed |= new_input.transformed;
let mut new_input = new_input.data;

if !common_exprs.is_empty() {
Expand Down

0 comments on commit 03e4cbd

Please sign in to comment.