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

Argument plan node does not depend on the right start node when explaining the query #4938

Closed
yixinglu opened this issue Nov 26, 2022 · 0 comments · Fixed by #4939
Closed
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@yixinglu
Copy link
Contributor

Please check the FAQ documentation before raising an issue

Describe the bug (required)

when explaining the following query, we'll get the invalidate execution plan:

explain match (a:player) match (a)-[:like]-(b) return b;

The execution plan generated by explain lost the dependencies.

-----+----------------+--------------+----------------+-----------------------------------
|  5 | Argument       |              |                | outputVar: {                     |
|    |                |              |                |   "colNames": [                  |
|    |                |              |                |     "a"                          |
|    |                |              |                |   ],                             |
|    |                |              |                |   "type": "DATASET",             |
|    |                |              |                |   "name": "__Argument_5"         |
|    |                |              |                | }                                |
|    |                |              |                | inputVar: __AppendVertices_3     |
-----+----------------+--------------+----------------+-----------------------------------
|  6 | Start          |              |                | outputVar: {                     |
|    |                |              |                |   "colNames": [],                |
|    |                |              |                |   "name": "__Start_6",           |
|    |                |              |                |   "type": "DATASET"              |
|    |                |              |                | }                                |
-----+----------------+--------------+----------------+-----------------------------------

Your Environments (required)

  • OS: uname -a
  • Compiler: g++ --version or clang++ --version
  • CPU: lscpu
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

@yixinglu yixinglu added the type/bug Type: something is unexpected label Nov 26, 2022
@yixinglu yixinglu self-assigned this Nov 26, 2022
@Sophie-Xie Sophie-Xie added this to the v3.4.0 milestone Nov 27, 2022
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

Successfully merging a pull request may close this issue.

2 participants