Weijun-H opened a new issue, #9036:
URL: https://github.com/apache/arrow-datafusion/issues/9036

   ### Is your feature request related to a problem or challenge?
   
   > > 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 the problem of `sqlparser-rs`, 
https://github.com/sqlparser-rs/sqlparser-rs/issues/1108.
   
   _Originally posted by @Weijun-H in 
https://github.com/apache/arrow-datafusion/issues/8946#issuecomment-1909633733_
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _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]

Reply via email to