-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lambda]array_map(append_trailing_char_if_absent) function error in external table #12769
Comments
Root cause: SR cannot identify empty strings from hive, no matter with lambda function. hive
SR
|
the reason is that append_trailing_char_if_absent('', 'a') treat arg[0] as const column and add 'a' when the arg[0].length=0 while on the col is not constant, it check the length and skip the row that src_length=0 |
append_trailing_char_if_absent's behavior is different when the first arg is an empty string by from columns or not.
|
Steps to reproduce the behavior (Required)
Expected behavior (Required)
['a']
Real behavior (Required)
['']
StarRocks version (Required)
select current_version()
The text was updated successfully, but these errors were encountered: