-
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.
46875: sql: allow strpos() builtin function to support bit and bytes array r=otan a=abhishek20123g Fixes #45849 This commit modified strpos builtin function to allow it to support bit and byte array and add their respective testcases. This PR creates separate overloads for both bit and bytes as: strpos(varbit, varbit) strpos(bytes, bytes) since POSITION is an alias for strpos, at the parser level. Therefore this PR affect POSITION too. Release justification: low-risk change to existing functionality. Release note (sql change): This PR modified strpos() function to allow it support bit and byte array. Co-authored-by: abhishek20123g <[email protected]>
- Loading branch information
Showing
3 changed files
with
78 additions
and
1 deletion.
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