Describe the bug
StringIndexOutOfBoundsException is thrown when the second of argument of LEFT and RIGHT functions is greater than the length of the first argument.
Or for query issues:
- Run the query 'SELECT LEFT("Hello", 6)'
- See error 'StringIndexOutOfBoundsException'
Expected behavior
The output should be the whole string when the second argument is greater than or equal to the length of the string.
Screenshots
