Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unexpected results of query Apply with Iterate in subtask in Pegasus #3132

Open
BingqingLyu opened this issue Aug 21, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@BingqingLyu
Copy link
Collaborator

BingqingLyu commented Aug 21, 2023

Describe the bug
A clear and concise description of what the bug is.

The following query (on LDBC dataset) output errors:

g.V().hasLabel('forum').as('forum')
 .select('forum').by(out('containerOf').in('1..3', 'replyOf').endV().has('id', 6047318147162))

The error info client gets is:

GremlinServerError: 500: Status{code=UNKNOWN, description=execution_error: system error: kind(IOError), caused 
by:IOError(kind=System(NotConnected)),   occurred at: 
/work/interactive_engine/executor/engine/pegasus/pegasus/src/data_plane/intra_process.rs:43, ;, cause=null}

and internal error info (in pegasus) is:

thread 'reactor 2' panicked at 'iteration of [13] not found;', /root/moran/new/GraphScope/interactive_engine/executor/engine/pegasus/pegasus/src/operator/iteration/switch.rs:271:21

Additional context

As an optional solution, we can modify the query as following, and it runs well.

g.V().hasLabel('forum').as('forum').select('forum').
by(out('containerOf').union(__.in('replyOf'), __.in('replyOf').in('replyOf')).has('id', 6047318147162).as('message'))
@BingqingLyu BingqingLyu added the bug Something isn't working label Aug 21, 2023
longbinlai pushed a commit that referenced this issue Aug 22, 2023
…ithin subtask (#3133)

<!--
Thanks for your contribution! please review
https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before
opening an issue.
-->

## What do these changes do?

<!-- Please give a short brief about these changes. -->

Currently, throw unsupported error when query `PathExpand()` (which is
implemented by `Iterate`) within subtask in physical plan in GIE.

Once Pegasus supports `Apply` with `Iterate` in subtask, this can be
removed.

## Related issue number

<!-- Are there any issues opened that will be resolved by merging this
change? -->

#3132
zhanglei1949 pushed a commit to zhanglei1949/GraphScope that referenced this issue Aug 22, 2023
…ithin subtask (alibaba#3133)

<!--
Thanks for your contribution! please review
https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before
opening an issue.
-->

## What do these changes do?

<!-- Please give a short brief about these changes. -->

Currently, throw unsupported error when query `PathExpand()` (which is
implemented by `Iterate`) within subtask in physical plan in GIE.

Once Pegasus supports `Apply` with `Iterate` in subtask, this can be
removed.

## Related issue number

<!-- Are there any issues opened that will be resolved by merging this
change? -->

alibaba#3132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants