forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: run expression simplifier in a loop until a fixedpoint or 3 cyc…
…les (apache#10358) * feat: run expression simplifier in a loop * change max_simplifier_iterations to u32 * use simplify_inner to explicitly test iteration count * refactor simplify_inner loop * const evaluator should return transformed=false on literals * update tests * Update datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs Co-authored-by: Andrew Lamb <[email protected]> * run shorten_in_list_simplifier once at the end of the loop * move UDF test case to core integration tests * documentation and naming updates * documentation and naming updates * remove unused import and minor doc formatting change * Update datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs --------- Co-authored-by: Andrew Lamb <[email protected]>
- Loading branch information
1 parent
9fd697c
commit f0e96c6
Showing
2 changed files
with
182 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters