-
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.
38908: exec: Fix type ambiguity error out for IN and NOT IN. r=jordanlewis a=rohany A previous PR introduced this error, this PR fixes it and adds a regression test. Release note: None 38911: exec: fix LIKE handling for patterns like '%a%' r=solongordon a=solongordon GetLikeOperator was choosing the wrong operator when both the first and last characters of the pattern were wildcards. I fixed this logic and improved the unit tests to cover GetLikeOperator rather than just the underlying operators. While I was here I also added better handling for the case where there are no wildcards, i.e. exact string matching. Fixes #38888 Release note: None Co-authored-by: Rohan Yadav <rohany@alumni.cmu.edu> Co-authored-by: Solon Gordon <solon@cockroachlabs.com>
- Loading branch information
Showing
4 changed files
with
129 additions
and
41 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
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