Skip to content
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

OPTIONAL MATCH/UUID does not return existent node #3129

Closed
sapalli2989 opened this issue Mar 24, 2024 · 1 comment
Closed

OPTIONAL MATCH/UUID does not return existent node #3129

sapalli2989 opened this issue Mar 24, 2024 · 1 comment

Comments

@sapalli2989
Copy link
Contributor

CREATE NODE TABLE V (id UUID, PRIMARY KEY(id));
CREATE REL TABLE E (FROM V TO V);
CREATE (v1:V {id: UUID('11111111-1111-1111-1111-111111111111')})-[:E]->(v2:V {id: UUID('22222222-2222-2222-2222-222222222222')});
kuzu> MATCH (v:V {id: UUID('11111111-1111-1111-1111-111111111111')})
..> OPTIONAL MATCH (v)-[:E]->(v1:V)
..> RETURN v1;
------
| v1 |
------
|    |
------
(1 tuple)
(1 column)

v1:V should be second uuid , but nothing is returned. MATCH (v:V {id: UUID('11111111-1111-1111-1111-111111111111')})-[:E]->(v1:V) RETURN v1; works though. Also replacing UUID by INT64 works.

@andyfengHKU
Copy link
Contributor

This should be fixed in PR #3131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants