-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix and enhance expression normalization.
This patch is needed so that the expressions in the Sqllogictest do not cause the server to panic. Summary: - Bug fixes: - an invalid cast was attempted for some expressions; is now fixed. - NULL caused invalid transformations, NULL is now normalized on a fast path. - transformations that rebalance arithmetic across a comparison now first check that the proposed replacement arithmetic expression has a valid overload w.r.t typing. - Improvements: more simplifications.
- Loading branch information
Showing
5 changed files
with
456 additions
and
76 deletions.
There are no files selected for viewing
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.