-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
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
HTTP/SQL: "params" cannot be bucket names #1625
Comments
It should be |
Using `BUCKET:myparam` also errors
since then the parameter is not identified as such. |
Sorry, I didn't notice the parameter. Correct, you can't use parameters there. |
Too bad. So, does this bug report become a feature request or is this too unlikely to be implemented and should hence be closed? |
Hmm, so I tried using
which errors, but
works. So can you describe what the syntactic rule is, so I can add it to the docs? |
If it works without the |
ArcadeDB Version:
ArcadeDB Server v24.6.1-SNAPSHOT (build 6ff2d86d488fe6b3ca20f7a6554160d6017af118/1716919859476/main)
OS and JDK Version:
Running on Mac OS X 12.7.5 - OpenJDK 64-Bit Server VM 17.0.11 (Homebrew)
Using a parameter in POST request query where the parameter specifies a bucket name errors. This is maybe because the double colon, ie
BUCKET::param
cannot be parsed?Expected behavior
Succesful query in bucket
Actual behavior
Error on command execution
Steps to reproduce
wget -qO- http://localhost:2480/api/v1/query/test --post-data='{"language":"sql","params":{"myparam":"mybucket"},"command":"SELECT FROM BUCKET::myparam"}' --user root --password arcadedb
The text was updated successfully, but these errors were encountered: