alibaba / alibaba/GraphScope

[BUG] Degree Fusion occurs bug in Insight Runtime

Open
#4,528 1 comment 0 reactions 1 assignee Claimed by @BingqingLyu View on GitHub
stale
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Describe the bug**

As titled.

When executing the following query on LDBC 100, applying `DegreeFusionRule` or not generates two different results, which is not as expected:

With `DegreeFusionRule`:
```
@neo4j> Match (tag:TAG)<-[:HASTAG]-(message:POST|COMMENT)
Where tag.name = "North_German_Confederation"
WITH DISTINCT message
MATCH (message)<-[:LIKES]-(liker:PERSON)
WITH message, count(liker) as likeCount
Return count(message);
+-------+
| $f0 |
+-------+
| 70482 |
+-------+
```

Without `DegreeFusionRule`:
```
@neo4j> Match (tag:TAG)<-[:HASTAG]-(message:POST|COMMENT)
Where tag.name = "North_German_Confederation"
WITH DISTINCT message
MATCH (message)<-[:LIKES]-(liker:PERSON)
WITH message, count(liker) as likeCount
Return count(message);

+------+
| $f0 |
+------+
| 6528 |
+------+
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.