You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
select try(split('aa-bb', '-') [3]) as name; starrocks report error:Array subscript start at 1
select try(split('aa-bb', '-') [cast(null as int)]) as name;starrocks report error: Array subscript must be less than or equal to array length: 3 > 2
Describe the solution you'd like
The above two sql will return null in trino, and will report an error in starrocks.After turning on the trino dialect, hope that the semantics will remain consistent.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Feature request
Is your feature request related to a problem? Please describe.
select try(split('aa-bb', '-') [3]) as name; starrocks report error:Array subscript start at 1
select try(split('aa-bb', '-') [cast(null as int)]) as name;starrocks report error: Array subscript must be less than or equal to array length: 3 > 2
Describe the solution you'd like
The above two sql will return null in trino, and will report an error in starrocks.After turning on the trino dialect, hope that the semantics will remain consistent.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: