Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
In case simplifcation is already processing in unknownAsFalse mode, expr IS TRUE is redundant - and may just prevent further optimizations from happening:
@Test public void testRedundantIsTrue() { // in case of unknownAsFalse // x is TRUE <=> x checkSimplify3(isTrue(vBool(1)), "IS TRUE(?0.bool1)", "?0.bool1", "IS TRUE(?0.bool1)"); }
there are some further possibilities
(unknownAsTrue) x is NOT FALSE <=> x (unknownAsTrue) x is FALSE <=> not x
Attachments
Issue Links
- relates to
-
CALCITE-2932 DruidAdapterIT regression after 1.17 release
- Closed
- links to