Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CALCITE-1413] Enhance boolean case statement simplifications (Zoltan…
… Haindrich) Enables the simplification of case branch conditionals and values. Adds a new case statement rewrite logic which could rewrite any case statement returning booleans into and/or expressions. Close #886
- Loading branch information
Showing
9 changed files
with
463 additions
and
216 deletions.
There are no files selected for viewing
405 changes: 293 additions & 112 deletions
405
core/src/main/java/org/apache/calcite/rex/RexSimplify.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.