You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by GitBox <gi...@apache.org> on 2022/11/21 15:23:18 UTC

[GitHub] [age] lloydsun opened a new issue, #361: Can not remove the label on a node

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

   **Describe the bug**
   I have a label "Game" on a node, I wanna change it to "game", but I tried REMOVE, I got an error:
   
   ```syntax error at or near ":"```
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   nodejs driver
   
   I am using the official docker :latest
   
   **What data setup do we need to do?**
   ```pgsql
   ...
   SELECT
       *
   FROM
       cypher('vg-graph', $$
           CREATE (g:Game {name: "Front Mission", uid: "Pt6DmC8jnzDy", body: "some text"})
       $$) as (n agtype);
   ...
   ```
   
   **What is the necessary configuration info needed?**
   - no
   
   **What is the command that caused the error?**
   ```pgsql
   SET search_path TO ag_catalog;
   
   SELECT
       *
   FROM
       cypher('vg-graph', $$
           MATCH (n {uid:"Pt6DmC8jnzDy"})
           REMOVE n:Game
           RETURN n
       $$) as (n agtype);
   ```
   ```
   ERROR:  syntax error at or near ":"
   ```
   
   **Expected behavior**
   Remove the label
   
   **Environment (please complete the following information):**
   - AGE 1.1.0
   - PostgreSQL 11.16 (Debian 11.16-1.pgdg90+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
   
   **Additional context**
   no.


-- 
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] Can not remove the label on a node [age]

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

   @rsoury We already have a bot doing just that, but we have to be fair to issue creators by giving them a reasonable amount of time to respond or close the ticket themselves. It is preferable that the issue creator closes their issue.


-- 
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] lloydsun commented on issue #361: Can not remove the label on a node

Posted by GitBox <gi...@apache.org>.
lloydsun commented on issue #361:
URL: https://github.com/apache/age/issues/361#issuecomment-1324113015

   Oh, I see. Thank you for the explanation!
   Keep up the GREAT work :)


-- 
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 #361: Can not remove the label on a node

Posted by GitBox <gi...@apache.org>.
jrgemignani commented on issue #361:
URL: https://github.com/apache/age/issues/361#issuecomment-1323970436

   Currently, the REMOVE command cannot remove labels. Unlike Neo4j, AGE only supports 1 label name for any vertex or edge. So, removing a label would mean removing the vertex or edge.
   
   Note to team: This may be something where we should consider removing a label name and setting it to the default label.


-- 
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] Can not remove the label on a node [age]

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

   @jrgemignani - There's a lot of dormant issues that cause concern for new adopters (like me). Highly advise pruning or including a bot to do so.


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