Description
In the expression as followed:
((sal IS NULL) IS NOT NULL) IS FALSE
The RexCall#isAlwaysTrue return true,however the correct answer is false.
I find the reason is that there is a wrong logic in the isAlwaysTrue,when getKind() is IS_NOT_FALSE、IS_FALSE and IS_NOT_FALSE :
Can you have a check for me,thanks!
Attachments
Attachments
Issue Links
- is duplicated by
-
CALCITE-2644 isAlwaysTrue broken for IS FALSE
- Closed
- is related to
-
CALCITE-2257 Combination of predicates can be proved to be always true
- Closed