Skip to content

Commit

Permalink
Avoid unecessary setting transform flat
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jun 18, 2024
1 parent 3639de4 commit 8dd6256
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 @@ -197,8 +197,8 @@ impl CommonSubexprEliminate {
let mut new_input = new_input.data;

if !common_exprs.is_empty() {
assert!(transformed);
new_input = build_common_expr_project_plan(new_input, common_exprs)?;
transformed = true;
}

// return the transformed information
Expand Down

0 comments on commit 8dd6256

Please sign in to comment.