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

   I came across some commands that throw errors in cypher.sql and I am not 
sure whether this is expected behavior or not.
   
   I am unsure whether this is okay because the expected and actual results 
throw log these errors when running this command.
   
   `SELECT * FROM cypher('cypher', 'RETURN 0') AS r(c text);`
   `ERROR:  a dollar-quoted string constant is expected`
   `LINE 1: SELECT * FROM cypher('cypher', 'RETURN 0') AS r(c text);`
   
   `SELECT * FROM cypher('cypher', NULL) AS r(c text);`
   `ERROR:  a dollar-quoted string constant is expected`
   `LINE 1: SELECT * FROM cypher('cypher', NULL) AS r(c text);`
   
   Are these test cases valid? Or should it be changed? like `SELECT * FROM 
cypher('cypher', $$RETURN 0$$) AS r(c text);`
   
   Also if these test cases are valid then is okay to add a test case like 
`SELECT * FROM cypher('cypher', ##RETURN 0##) AS r(c text);` since this will 
throw an error as well.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to