GraphScope
GraphScope copied to clipboard
[BUG] Fuse `filter` into `Auxilia` in `GIE-IR` occurs bugs
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.