alibaba / alibaba/GraphScope

[BUG] Fuse `filter` into `Auxilia` in `GIE-IR` occurs bugs

Open
#2,021 0 comments 0 reactions 2 assignees Claimed by @BingqingLyu View on GitHub
bug component:gie
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Describe the bug**
A clear and concise description of what the bug is.

In `GIE-IR`, it would fuse `filter` into `Auxilia` to enable optimization of pushing filter down into Store (or StoreProxy). However, some filters cannot be push down, since it may involve computed data.
Examples on modern_graph are shown as follows (the query is meaningless):
`g.V().hasLabel("person").as("a").group().by(select("a").as("key")).by(count().as("value")).where(expr("@value<@key.age"))`,
which both output empty results.

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.