alibaba / GraphScope

🔨 🍇 💻 🚀 GraphScope: A One-Stop Large-Scale Graph Computing System from Alibaba | 一站式图计算系统
https://graphscope.io
Apache License 2.0
3.28k stars 442 forks source link

[BUG] Dynamic params are not passed to physical layer #3665

Open zhanglei1949 opened 7 months ago

zhanglei1949 commented 7 months ago
MATCH (p: PERSON{id: $personId}) -[k:KNOWS*1..4]-(f: PERSON {firstName: $firstName})
WHERE p <> f
with f AS f, length(k) as len
with f AS f, min(len) as distance
ORDER  BY distance ASC, f.lastName ASC, f.id ASC
LIMIT 20

For example, When using GraphPlanner to generate the physical plan for this query, only one dynamic param presents. 1 firstName, the $personid is missing.

zhanglei1949 commented 7 months ago

To reproduce, use the following config

graph.planner.opt: RBO
physical.opt.config: ffi
graph.planner.rules: FilterIntoJoinRule, FilterMatchRule, NotMatchToAntiJoinRule
github-actions[bot] commented 6 months ago

/cc @BingqingLyu, this issus/pr has had no activity for for a long time, could you folks help to review the status ? To suppress further notifications,