nupis-DanielS opened a new issue, #1399:
URL: https://github.com/apache/age/issues/1399

   **Describe the bug**
   We run in an error if we query for a non existing relationship. If the 
filter contains the label of the relationship it will return "Variable `foo` 
does not exist". When the relationship label is not used everything works as 
expected. It looks like that the error occurs only when the database table for 
the label is not present..
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   - JDBC
   - pg (Node)
   
   **What data setup do we need to do?**
   ```pgsql
   /
   ```
   
   **What is the necessary configuration info needed?**
   - /
   
   **What is the command that caused the error?**
   ```pgsql
   SELECT * FROM cypher('property-graph', $$ 
     MATCH (foo)
     WHERE NOT exists((foo)-[:BAR]->())
     RETURN count(foo) > 0
   $$) as (c agtype)
   ```
   ```
   Variable `foo` does not exist
   ```
   
   **Expected behavior**
   false
   
   **Environment (please complete the following information):**
   - Version: 1.4.0
   - PostgreSQL: 14.6 (Ubuntu 14.6-1.pgdg22.04+1)
   
   **Additional context**
   Without non existing relation label it works as expected (result -> false).
   


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

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

Reply via email to