alibaba / alibaba/GraphScope

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

Open
#2,669 2 comments 0 reactions 1 assignee Assigned to @TaoLbr1993 View on GitHub
bug component:gae
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Describe the bug**
include/graphscope/apps/simple_path/all_simple_paths_context.h:52:26:
error: ‘const class gs::ArrowProjectedFragment
>’
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):**
- GraphScope version: 0.21.0

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.