GraphScope
GraphScope copied to clipboard
[BUG] Wcc failed to compile
Describe the bug
Wcc failed to compile.
/home/hrz/mambaforge/envs/gs/lib/python3.11/site-packages/graphscope.runtime/include/grape/analytical_apps/wcc/wcc.h:60:22: error: ‘const grape::WCC<gs::ArrowFlattenedFragment<std::basic_string<char>, long unsigned int, grape::EmptyType, grape::EmptyType> >::fragment_t’ {aka ‘const class gs::ArrowFlattenedFragment<std::basic_string<char>, long unsigned int, grape::EmptyType, grape::EmptyType>’} has no member named ‘GetOutgoingInnerVertexAdjList’
60 | auto es = frag.GetOutgoingInnerVertexAdjList(v);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option ‘-Wno-unused-lambda-capture’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-undef-prefix’ may have been intended to silence earlier diagnostics
To Reproduce
- Start a local server session:
import graphscope
graphscope.session(cluster_type="hosts")
- Start another session and connect to the server:
import graphscope
from graphscope.framework.loader import Loader
sess = graphscope.session(cluster_type="hosts", addr="127.0.0.1:38159", dangling_timeout_seconds=30000)
- Import the graph from a csv:
graph = sess.g(oid_type="string")
graph = graph.add_edges( Loader(
"/fast/hrz/osscout/redis_dump_blob.csv",
delimiter=",",
),
src_label="old_blob",
dst_label="new_blob")
- Run wcc:
wcc_result = graphscope.wcc(graph)
Expected behavior No compile error should occur.
Screenshots Please refer to the logs.
Environment (please complete the following information):
- GraphScope version: v0.2.9
- OS: Ubuntu
- Version 24.04 LTS
- Kubernetes Version N/A
Additional context
Input: input_head_20.csv Conda environment: environment.yml.txt