Zainab-Saad commented on issue #1007:
URL: https://github.com/apache/age/issues/1007#issuecomment-1623984956

   I have debugged this function with the regression tests for MATCH clause, 
and found that the following regression test enters second IF conditional:
   ```
   SELECT * FROM cypher('cypher_match', $$
           MATCH (u:duplicate)-[]-(:other_v)
           RETURN DISTINCT u
   $$) AS (i agtype);
   ```
   
   But one thing I have noticed is that there are many tests possible 
[here](https://github.com/apache/age/blob/master/regress/sql/cypher_match.sql) 
where the code flow could enter either first or second or both IF condtionals 
but such tests do not exist already. If such tests need to be added, I can go 
ahead and add those regression tests.


-- 
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-unsubscr...@age.apache.org

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

Reply via email to