YGY-001 opened a new issue, #2540:
URL: https://github.com/apache/age/issues/2540

   
   
   ### Environment
   Docker image: `apache/age:release_PG18_1.8.0`
   
   ### Reproduction
   
   ```sql
   LOAD 'age';
   SET search_path = ag_catalog, public;
   
   SELECT ag_catalog.create_graph('age_issue_case14');
   
   SELECT *
   FROM ag_catalog.cypher('age_issue_case14', $$
   CREATE (a:Start {id: 1})-[:R]->(b:End {id: 2})
   RETURN b
   $$) AS (b agtype);
   
   SELECT *
   FROM ag_catalog.cypher('age_issue_case14', $$
   MATCH p = ()-[*1]->(n:End {id: 2})
   RETURN *
   $$) AS (p agtype, n agtype);
   ```
   ### Expected behavior
   The query should return the matched path and node, equivalent to:
   SELECT *
   FROM ag_catalog.cypher('age_issue_case14', $$
   MATCH p = ()-[*1]->(n:End {id: 2})
   RETURN p, n
   $$) AS (p agtype, n agtype);
   ### Actual behavior
   ERROR: return row and column definition list do not match
   The explicit projection RETURN p, n succeeds on the same graph, while RETURN 
* fails. The issue also reproduces with [*1..2].


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