andygrove opened a new issue, #3919:
URL: https://github.com/apache/datafusion-comet/issues/3919
### Describe the bug
Add these tests to `substring.sql`:
```
query
SELECT substring(s, -2, 3) FROM test_substring
query
SELECT substring(s, -10, 3) FROM test_substring
query
SELECT substring(s, -300, 3) FROM test_substring
```
Example failure:
```
== Results ==
!== Correct Answer - 4 == == Spark Answer - 4 ==
struct<substring(s, -10, 3):string> struct<substring(s, -10, 3):string>
[] []
![] [abc]
[ell] [ell]
[null] [null]
```
### Steps to reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]