We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While working on apache/datafusion#8946, I discovered that sqlparser-rs does not support tokens such as [-1:-1] or [-2:3].
[-1:-1]
[-2:3]
The text was updated successfully, but these errors were encountered:
Postgres does not seem to support this either:
postgres=# select array [1,2,3][-1:1]; ERROR: syntax error at or near "[" LINE 1: select array [1,2,3][-1:1]; ^ postgres=#
Sorry, something went wrong.
Postgres does not seem to support this either: postgres=# select array [1,2,3][-1:1]; ERROR: syntax error at or near "[" LINE 1: select array [1,2,3][-1:1]; ^ postgres=#
Yes, it supports the syntax select (array [1,2,3])[-1:1];
select (array [1,2,3])[-1:1];
postgres=# select (array [1,2,3])[-1:1]; array ------- {1} (1 row)
👍
No branches or pull requests
While working on apache/datafusion#8946, I discovered that sqlparser-rs does not support tokens such as
[-1:-1]
or[-2:3]
.The text was updated successfully, but these errors were encountered: