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

[GitHub] [age] jrgemignani opened a new issue, #979: MERGE does not see 'x' as a valid reuse

jrgemignani opened a new issue, #979:
URL: https://github.com/apache/age/issues/979

   **Describe the bug**
   The MERGE command doesn't see a valid case of variable reuse for a vertex.
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   psql command line
   
   **What data setup do we need to do?**
   Setup shouldn't matter. However, this was done on an empty graph database.
   
   **What is the necessary configuration info needed?**
   AGE
   
   **What is the command that caused the error?**
   The following command fails, but the second 'x' should be seen as a valid reuse of 'x'. This command works successfully on Neo4j.
   
   ```
   psql-11.5-5432-pgsql=# SELECT * FROM cypher('test', $$ MERGE (x:C)-[:A]->(x) RETURN x $$) as (r agtype);
   ERROR:  multiple labels for variable 'x' are not supported
   LINE 1: ...ELECT * FROM cypher('test', $$ MERGE (x:C)-[:A]->(x) RETURN ...
                                                                ^
   psql-11.5-5432-pgsql=#
   ```
   
   **Expected behavior**
   It should create a vertex with a self loop.
   
   **Environment (please complete the following information):**
   current master branch
   
   **Additional context**
   None.
   


-- 
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.apache.org

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


Re: [I] MERGE does not see 'x' as a valid reuse [age]

Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani closed issue #979: MERGE does not see 'x' as a valid reuse
URL: https://github.com/apache/age/issues/979


-- 
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


[GitHub] [age] jrgemignani commented on issue #979: MERGE does not see 'x' as a valid reuse

Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani commented on issue #979:
URL: https://github.com/apache/age/issues/979#issuecomment-1597851378

   I have created PR #997 to address this and the issue with using a duplicated vertex (self loop) mentioned in a previous MERGE PR.


-- 
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


[GitHub] [age] jrgemignani commented on issue #979: MERGE does not see 'x' as a valid reuse

Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani commented on issue #979:
URL: https://github.com/apache/age/issues/979#issuecomment-1584877737

   I am working on a patch for this. However, any input here is welcome.


-- 
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


Re: [I] MERGE does not see 'x' as a valid reuse [age]

Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani commented on issue #979:
URL: https://github.com/apache/age/issues/979#issuecomment-1773547573

   Resolved


-- 
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