-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.14.0
-
Component/s: None
-
Labels:None
In RexSimplify, when simplifying NOT(), we negate the input expression. But for IS_FALSE/IS_TRUE/IS_NOT_FALSE/IS_NOT_TRUE this cannot be just negated if the input is nullable.
IS_FALSE(null) = false IS_TRUE(null) = false NOT(IS_FALSE(null)) = true != IS_TRUE(null) IS_NOT_FALSE(null) = true IS_NOT_TRUE(null) = true NOT(IS_NOT_FALSE(null)) = false != IS_NOT_TRUE(null)