jayzhan211 commented on PR #8946:
URL: 
https://github.com/apache/arrow-datafusion/pull/8946#issuecomment-1903854112

   > sqlparser-rs does not support these syntax.
   > 
   > ```
   > ❯ select [1,2,3][-1:-3:-2];  🤔 Invalid statement: sql parser error: 
Expected a value, found: -
   > ❯ select [1,2,3][-1:-3];  🤔 Invalid statement: sql parser error: Expected 
a value, found: -
   > ```
   
   This is not valid in duckdb too, try `select ([1,2,3])[-1:-3]`


-- 
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]

Reply via email to