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

Why following query reports the confused errors? #4140

Closed
yixinglu opened this issue Apr 12, 2022 · 1 comment
Closed

Why following query reports the confused errors? #4140

yixinglu opened this issue Apr 12, 2022 · 1 comment
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@yixinglu
Copy link
Contributor

General Question

Branch: master

GO 2 STEPS FROM 'Tim Duncan' OVER like WHERE $$.player.age > 20 Yield $$.player.name

error log:

E20220412 16:25:21.904093 98909 Optimizer.cpp:48] Failed to postprocess plan: EdgeName `*'  is nonexistent

What's the meaning of EdgeName *? This error was reported in Optimizer:

  auto status2 = postprocess(const_cast<PlanNode *>(newRoot), qctx, spaceID);
  if (!status2.ok()) {
    LOG(ERROR) << "Failed to postprocess plan: " << status2;
  }

@Sophie-Xie Sophie-Xie added this to the v3.1.0 milestone Apr 12, 2022
@Sophie-Xie Sophie-Xie assigned CPWstatic and jievince and unassigned CPWstatic Apr 12, 2022
@Sophie-Xie Sophie-Xie added the type/bug Type: something is unexpected label Apr 12, 2022
@jievince
Copy link
Contributor

The error is reported when trying to get the edge type of the given edge name.
And the EdgeName * is a special symbol that is widely used in our implementation for ngql.
You can search "*" in our code:
image
This error reported for ngql could be ignored because it's designed for the property pruner rule which will only affect MATCH statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

4 participants