alibaba / GraphScope

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

[BUG] graphscope.builtin.all_simple_paths(networkx graph, src, tar, cutoff) #2669

Open wzrbill opened 1 year ago

wzrbill commented 1 year ago

Describe the bug include/graphscope/apps/simple_path/all_simple_paths_context.h:52:26: error: ‘const class gs::ArrowProjectedFragment<long int, long unsigned int, long int, long int, vineyard::ArrowVertexMap<long int, long unsigned int>

’ has no member named ‘id_mask’ 52 | this->id_mask = frag.id_mask(); 53 | this->fid_offset();

To Reproduce Steps to reproduce the behavior: import graphscope as gs from graphscope import nx nxG = nx.complete_graph(4) print(nx.builtin.all_simple_paths(nxG, 0, 3, 2)

Environment (please complete the following information):

Additional context These two member functions can only be found in the file ./GraphScope/analytical_engine/java/grape-jdk/src/main/java/com/alibaba/graphscope/fragment/EdgecutFragment.java 41 | int fid_offset(); 45 | VID_T id_mask(); But here these two have been blocked.

In the reported error information, the first parameter 'networkx graph' of the function 'all_simple_paths' seems to be a 'DynamicProjectedFragment' type. And in this type, there are no such member functions.

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the issue template! And a maintainer will get back to you shortly! Please feel free to contact us on DingTalk, WeChat account(graphscope) or Slack. We are happy to answer your questions responsively.

acezen commented 1 year ago

This issue is related to #2765