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
{{ message }}
Repository navigation
[Bug]: multiple substring function result bug #3169
- Version or commit-id (e.g. v0.1.0 or 8b23a93):e1319c52cf87b17a98008ae0dda79b72237d9ed1- Hardware parameters:Mac M1 ARM 16GB Memory
- OS type:OSX- Others:
Actual Behavior
substr(c1, -2147483647, 2147483648)
111
222
substring(hello, 1, 18446744073709551615)
hell
substring(hello, -18446744073709551615, -18446744073709551615)
h
Expected Behavior
substr(c1, -2147483647, 2147483648)
empty set
substring('hello', 1, 18446744073709551615)
hello
substring(hello, -18446744073709551615, -18446744073709551615)
empty set
Activity
[-][Bug]: substring function result bug[/-][+][Bug]: multiple substring function result bug[/+]dengn commentedon Jun 30, 2022
#3169 tag still remains in the test case.
jianwan0214 commentedon Jul 1, 2022
select substring('hello', -18446744073709551615, -18446744073709551615);
this error is tracked by issue #3155.