kuzu
kuzu copied to clipboard
Bug: Suspicious results for MATCH query when replacing one (n1) to (n2)
Kùzu version
v0.4.3.23
What happened?
First, I execute the following Cypher query on my graph:
MATCH (n1)-[]->(n1)-[]->(n1)-[]->(n1) RETURN COUNT (*)
=> 216
Then, I execute the second query in the same graph:
MATCH (n1)-[]->(n1)-[]->(n2)-[]->(n1) RETURN COUNT (*)
=> 72
I am not sure whether the first result greater than the second one is expected in Kuzu, because the second query can strictly match more patterns.
It would be highly appreciated if you could tell me if I misunderstood this case or if it was caused by a potential bug in Kuzu.
Best regards, Qiuyang
Are there known steps to reproduce?
The graph data can be imported by the statements in the attached JSON file G2_48.json