Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
When simplifying expressions, revisit "IS NULL" if its argument has been simplified. For example, we currently simplify
(CASE WHEN FALSE THEN +(v0) ELSE -1 END) IS UNKNOWN
to
-1 IS UNKNOWN
but we should further simplify that to FALSE.
I have a preliminary dev branch, but it needs a little more debugging. I'd be grateful if someone could finish it.
Attachments
Issue Links
- links to