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

   **Describe the bug**
   Could not find rte error when using path variable in WHERE
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   - terminal
   
   **What data setup do we need to do?**
   ```pgsql
   SELECT * FROM cypher('graph',$$
       CREATE (n)-[:KNOWS {n:'hello'}]->({n:'hello'})
   $$) as (a agtype);
   ```
   
   **What is the command that caused the error?**
   ```pgsql
   SELECT * FROM cypher('graph', $$
       MATCH p = (m)-[]->(b) 
       WHERE length(p) >1
       RETURN p
   $$) AS (pattern agtype);
   ```
   ```
   ERROR:  could not find rte for p
   LINE 3:     WHERE length(p) >1 return p
                            ^
   ```
   
   **Expected behavior**
   Expected it to work without error.
   
   **Environment (please complete the following information):**
   - latest (PG13 master)
   
   


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