Skip to content

[BUG] Wcc failed to compile #4609

Description

@hrz6976

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

  1. Start a local server session:
import graphscope
graphscope.session(cluster_type="hosts")
  1. 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)
  1. 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")
  1. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions