-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix cast from string to array with width
The code that performs a cast from string to array doesn't take into account the width of the string type it is producing. This doesn't show up when the input is a literal constant because the constant is first parsed as an array of (vanilla) strings which is then subjected to a cast (to array of strings with width). Fixes #50132. Release note (bug fix): Fixed some cases where casting a string to a width-limited string array was not truncating the string.
- Loading branch information
1 parent
ae7d20e
commit d5d9181
Showing
3 changed files
with
29 additions
and
0 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