bitnine-oss / agensgraph

AgensGraph, a transactional graph database based on PostgreSQL
http://www.agensgraph.org
Other
1.32k stars 146 forks source link

Seems to be an unexpected error #609

Open YuanchengJiang opened 1 year ago

YuanchengJiang commented 1 year ago

Version: v2.13.0

postgres=# MATCH (a)-[]->(b) RETURN count(a);
 count 
-------
 100
(1 row)

postgres=# MATCH (a)-[*1..1]->(b) RETURN count(a);
 count 
-------
 100
(1 row)

postgres=# MATCH (a),(a)-[]->(b) RETURN count(a);
 count 
-------
 100
(1 row)

postgres=# MATCH (a),(a)-[*1..1]->(b) RETURN count(a);
ERROR:  column "a" does not exist 
emotionbug commented 1 year ago

I wrote a PR that fixes this issue. It will be pushed after review.

Thank you for reporting this issue.