You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "dehowef (via GitHub)" <gi...@apache.org> on 2023/03/06 03:19:54 UTC

[GitHub] [age] dehowef commented on issue #724: MATCH property constraints fail when a variable is referenced more than once.

dehowef commented on issue #724:
URL: https://github.com/apache/age/issues/724#issuecomment-1455380524

   > This probably is not the bug rather the MATCH clause using same variable for the two vertices should be used to match _self-loop_ on a vertex. `MATCH(a)-[]-(a)` and `MATCH(a {prop: "value"})-[]-(a)` would work fine as they are used for matching the _self-loop_ but `MATCH(a {prop :"value1")-[]-(a {prop : "value2"})` or `MATCH(a {prop1 : "value1"})-[]-(a {prop2 : "value2"})` would through an error below as they are not matching any self-loop (because the properties are different for two vertices)
   > 
   > > ERROR: variable a already exists
   
   Respectfully, you are incorrect and it's a bug. Thank you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org