-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Query works on Studio, fails using REST API ( ... is not idempotent) #1589
Comments
Hi, |
Alright thanks ! |
Just to be sure @gramian you meant Change the database schema, right ? Because we've been using this same endpoint ( Reading the documentation :
It sounds like yes, I should be in "READ ONLY" using this endpoint, however we can create nodes and edges using Cypher, sounds like something that was missed in the documentation ? Or do you not have the required functions in OpenCypher to detect idempotency ? |
Hmm, that would indeed be a bug. For SQL and SQLscript the |
Hello it's me again
ArcadeDB Version:
ArcadeDB Server v24.5.1-SNAPSHOT (build 71472c4c05ae9278d0d5d71a919b31883e1ea767/1713899543605/main) is starting up...
creating nodes and reading nodesOS and JDK Version:
Running on Linux 5.15.0-100-generic - OpenJDK 64-Bit Server VM 11.0.22
for creating nodes and reading nodesExpected behavior
Query should execute and not fail.
Actual behavior
Error :
{"error":"Cannot execute command","detail":"Query \u0027create vertex type CHUNK\u0027 is not idempotent","exception":"java.lang.IllegalArgumentException"}
Steps to reproduce
curl -X GET http://localhost:2480/api/v1/query/test/sql/create%20vertex%20type%20CHUNK --user root:rootroot
Do it using Studio and it works
firefox_zbU8AUz3s5.mp4
Yes I also tried the
if not exist
, it doesn't help, that was my original query.The text was updated successfully, but these errors were encountered: