-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Labels
Description
RedisGraph 2.4.14, 2.8.24, 2.10.7
To reproduce:
127.0.0.1:6379> GRAPH.QUERY g "CREATE (a:A), (b:B), (a)-[r1:R]->(b), (a)-[r2:R]->(b)"
1) 1) "Labels added: 2"
2) "Nodes created: 2"
3) "Relationships created: 2"
4) "Cached execution: 0"
5) "Query internal execution time: 0.223622 milliseconds"
127.0.0.1:6379> GRAPH.QUERY g "MATCH (c)--()--(c) return count(c)"
1) 1) "count(c)"
2) 1) 1) (integer) 2
3) 1) "Cached execution: 0"
2) "Query internal execution time: 1.613708 milliseconds"
127.0.0.1:6379> GRAPH.QUERY g "MATCH p=(c)--()--(c) return count(c)"
1) 1) "count(c)"
2) 1) 1) (integer) 8
3) 1) "Cached execution: 0"
2) "Query internal execution time: 1.474395 milliseconds"
I would expect the two results should be the same.