You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "Zainab-Saad (via GitHub)" <gi...@apache.org> on 2023/02/25 10:07:59 UTC

[GitHub] [age-website] Zainab-Saad opened a new issue, #134: Error in the query under "Terminal CREATE clauses"

Zainab-Saad opened a new issue, #134:
URL: https://github.com/apache/age-website/issues/134

   The query provided under the terminal CREATE clauses [here](https://age.apache.org/age-manual/master/clauses/create.html#terminal-create-clauses) gives error instead of outputting '0 rows returned'
   
   Upon executing the following query:
   `SELECT * 
   FROM cypher('graph_name', $$
       CREATE /* Create clause here, no following clause */
   $$) as (a agtype);`
   
   I get:
   
   > ERROR:  syntax error at end of input
   LINE 4: $$) as (a agtype)


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


[GitHub] [age-website] im-aditya30 commented on issue #134: Error in the query under "Terminal CREATE clauses"

Posted by "im-aditya30 (via GitHub)" <gi...@apache.org>.
im-aditya30 commented on issue #134:
URL: https://github.com/apache/age-website/issues/134#issuecomment-1456956639

   I think you also need to provide `(n)` also after `CREATE` as given [here](https://age.apache.org/age-manual/master/clauses/create.html#create-single-vertex). I got the same error from postgres command line so maybe its error from age.


-- 
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-website] Pratikkapsime commented on issue #134: Error in the query under "Terminal CREATE clauses"

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

   There is a syntax error because you have written the commented line  /* Create clause here, no following clause */ in the query. Try using this SELECT *  FROM cypher('graph_name', $$ CREATE  $$) as (a agtype);


-- 
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-website] Zainab-Saad commented on issue #134: Error in the query under "Terminal CREATE clauses"

Posted by "Zainab-Saad (via GitHub)" <gi...@apache.org>.
Zainab-Saad commented on issue #134:
URL: https://github.com/apache/age-website/issues/134#issuecomment-1445055233

   It still gives an error because there is no vertex or edge to be created
   
   
   On Sat, Feb 25, 2023 at 3:53 PM Pratik Kumar ***@***.***>
   wrote:
   
   > There is a syntax error because you have written the commented line /*
   > Create clause here, no following clause */ in the query. Try using this
   > SELECT * FROM cypher('graph_name', $$ CREATE $$) as (a agtype);
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/age-website/issues/134#issuecomment-1445053860>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AZEA5JW4SZKICUH3ZO7XDSTWZHQBVANCNFSM6AAAAAAVHYWYOQ>
   > .
   > You are receiving this because you authored the thread.Message ID:
   > ***@***.***>
   >
   


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