alibaba / GraphScope

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

[BUG] Missing some properties when fetching properties in a path #3930

Open BingqingLyu opened 1 week ago

BingqingLyu commented 1 week ago

Describe the bug

We supported to fetch properties of a path, by which, we will project properties of each vertex in the path. An example on ldbc graph is as below:

gremlin> g.V(72064191107695053).out("2..3","KNOWS").with("RESULT_OPT","ALL_V").values("firstName")
==>[Eli, Alim, Faisal]
==>[Eli, Alim, Jie]
==>[Eli, Alim, Mahinda]
==>[Eli, Alim, Abby]
==>[Eli, Alim, Marcelo]
==>[Eli, Alim, Chan]
==>[Eli, Li, Arif]
...

However, we miss some properties when running on a distributed setting. E.g.,

gremlin> g.V(72064191107695053).out("2..3","KNOWS").with("RESULT_OPT","ALL_V").count()
==>220
gremlin> g.V(72064191107695053).out("2..3","KNOWS").with("RESULT_OPT","ALL_V").values("firstName").count()
==>41

In which, we have 220 paths, but can only fetch properties for 41 paths correctly. This is a bug and fix it.