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

Support to fetch properties of each elements in path in GOpt #3940

Closed BingqingLyu closed 3 days ago

BingqingLyu commented 1 week ago

Is your feature request related to a problem? Please describe.

As titled. In the new GOpt-based GIE, we need to support projecting properties of each elements in path in GOpt. e.g.,

 g.V().both("1..3","knows").with('RESULT_OPT', 'ALL_V').values("id")
 g.V().both("1..3","knows").with('RESULT_OPT', 'ALL_V_E').values("id") // in which, "id" should exisit in both vertex's and edge's property schema
 g.V().both("1..3","knows").with('RESULT_OPT', 'ALL_V').valueMap("id")
 g.V().both("1..3","knows").with('RESULT_OPT', 'ALL_V_E').valueMap("id")