[BUG] Fuse `filter` into `Auxilia` in `GIE-IR` occurs bugs
Open
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
Assessment
This issue has not been assessed yet.