You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error on creating an edge on a specific bucket #1246
The edge is saved in the default bucket, totally ignoring the CREATE EDGE sql command specification.
Steps to reproduce
Create the schema first (on a new database)
CREATE BUCKET vectorExample_t;
CREATE BUCKET edgeExample_t;
CREATE VERTEX TYPE vectorExample;
CREATE EDGE TYPE edgeExample;
ALTER TYPE vectorExample BUCKET +vectorExample_t;
ALTER TYPE vectorExample BUCKET +edgeExample_t;
Then try to execute this SQL Script:
INSERT INTO BUCKET:vectorExample_t SET hash = "6vltvet7fa";
INSERT INTO BUCKET:vectorExample_t SET hash = "jknn3y";
INSERT INTO BUCKET:vectorExample_t SET hash = "2qzio6a";
INSERT INTO BUCKET:vectorExample_t SET hash = "3pnevfa5i";
LET vectorExampleA = SELECT FROM BUCKET:vectorExample_t WHERE hash = "6vltvet7fa";
LET vectorExampleB = SELECT FROM BUCKET:vectorExample_t WHERE hash = "jknn3y";
LET vectorExampleC = SELECT FROM BUCKET:vectorExample_t WHERE hash = "3pnevfa5i";
CREATE EDGE edgeExample BUCKET edgeExample_t FROM $vectorExampleA[0] TO $vectorExampleB[0];
CREATE EDGE edgeExample BUCKET edgeExample_t FROM $vectorExampleB[0] TO $vectorExampleC[0];
CREATE EDGE edgeExample BUCKET edgeExample_t FROM $vectorExampleA[0] TO $vectorExampleC[0];
Activity
lvca commentedon Sep 19, 2023
There was a typo in the original script, this
Should rather be:
fix: fixed creation of edge in a custom bucket
chore(deps): update psycopg-binary requirement from >=3.2.5 to >=3.2.…
chore(deps): update psycopg requirement from >=3.2.5 to >=3.2.13 in /…
fix: fixed creation of edge in a custom bucket
chore(deps): update psycopg-binary requirement from >=3.2.5 to >=3.2.…
chore(deps): update psycopg requirement from >=3.2.5 to >=3.2.13 in /…
chore(deps): update psycopg requirement from >=3.2.13 to >=3.3.4 in /…
chore(deps): update psycopg-binary requirement from >=3.2.13 to >=3.3…
chore(deps): bump actions/setup-java from 5.7.0 to 6.0.0 [skip ci]