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

PredicateExpression exists(r.likeness) is wrongly rewritten to exists((teammate.likeness OR serve.likeness OR like.likeness)) #4989

Closed
jievince opened this issue Dec 5, 2022 · 0 comments · Fixed by #4815
Assignees
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Milestone

Comments

@jievince
Copy link
Contributor

jievince commented Dec 5, 2022

Please check the FAQ documentation before raising an issue

Describe the bug (required)

PredicateExpression exists(r.likeness) is first embedded into Traverse by the rule PushFilterDownTraverse, and then it's wrongly rewritten to exists((teammate.likeness OR serve.likeness OR like.likeness))
by the optimizer rule PushEFilterDown

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:

match (:player{name:"Tony Parker"})-[r]->() where exists(r.likeness) return r, exists({a:12}.a)

plan:

| name | operator info  |
| Traverse | filter: exists((teammate.likeness OR serve.likeness OR like.likeness)) |

Expected behavior

Additional context

@jievince jievince added the type/bug Type: something is unexpected label Dec 5, 2022
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Dec 5, 2022
@Sophie-Xie Sophie-Xie added this to the v3.4.0 milestone Dec 6, 2022
@github-actions github-actions bot added the process/fixed Process of bug label Dec 6, 2022
@Hester-Gu Hester-Gu added the process/done Process of bug label Jan 13, 2023
@github-actions github-actions bot removed the process/fixed Process of bug label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/done Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants