Weijun-H commented on PR #8946: URL: https://github.com/apache/arrow-datafusion/pull/8946#issuecomment-1909633733
> > 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. -- 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]
