alibaba / alibaba/GraphScope

能否实现多跳路径建立子图的功能

Open
#3,224 4 comments 0 reactions 1 assignee Claimed by @BingqingLyu View on GitHub
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

目前这个语句报错:
sub_graph=interactive.subgraph("g.V().has('trmnl_black_flag',1).both('3..4','register')")
报错如下:
GremlinServerError: 500: Status{code=UNKNOWN, description=execution_error: user error: kind(Unknown), caused
by:Unexpected data type in exec neither vertex nor edge in GraphWriter, cause=null}

不能实现从起点多跳路径建立子图的功能,只能通过inE,outE,bothE,但是这三种算子无法计算多跳路径,只能计算一跳,建议实现多跳路径建立子图,实现以下语句:
sub_graph=interactive.subgraph("g.V().has('trmnl_black_flag',1).both('3..4','register')")

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.