GraphScope icon indicating copy to clipboard operation
GraphScope copied to clipboard

[BUG] CBO QuerySet Returns Error Results When Passing Through the IR Core

Open shirly121 opened this issue 2 years ago • 0 comments

Describe the bug query-1:

Match (message:COMMENT)-[:HASCREATOR]->(person:PERSON),
            (message:COMMENT)-[:HASTAG]->(tag:TAG),
            (person:PERSON)-[:HASINTEREST]->(tag:TAG)
Return count(message);

expected 8647164, returns 1353121

query-2:

Match (person1:PERSON)-[:LIKES]->(message:COMMENT),
           (message:COMMENT)-[:HASCREATOR]->(person2:PERSON),
           (person1:PERSON)-[:ISLOCATEDIN]->(place:PLACE),
     (person2:PERSON)-[:ISLOCATEDIN]->(place:PLACE)
Return count(person1);

expected 1344712, returns 824327

shirly121 avatar Jan 02 '24 08:01 shirly121