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

Lookup ... WHERE xxx IN xxx causes service crash #3983

Closed
Aiee opened this issue Mar 4, 2022 · 0 comments · Fixed by #3986
Closed

Lookup ... WHERE xxx IN xxx causes service crash #3983

Aiee opened this issue Mar 4, 2022 · 0 comments · Fixed by #3986
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@Aiee
Copy link
Contributor

Aiee commented Mar 4, 2022

Please check the FAQ documentation before raising an issue

Describe the bug (required)
When the property in the IN expression does not have an index binding to it, the query will cause a crash

The below query causes core dump if no index is created on player.age:
LOOKUP ON player WHERE player.age IN [40, 20] AND player.name > "" YIELD id(vertex) as id, player.age

Your Environments (required)
v3.0.0

How To Reproduce(required)

Steps to reproduce the behavior:

  1. drop index on player.age
  2. execute lookup on player where player.name in ["Tim Duncan"] and player.name > '' YIELD player.name

Expected behavior

Additional context

@Aiee Aiee added the type/bug Type: something is unexpected label Mar 4, 2022
@Aiee Aiee changed the title Look up ... WHERE xxx IN xxx causes service crash Lookup ... WHERE xxx IN xxx causes service crash Mar 4, 2022
@Aiee Aiee self-assigned this Mar 4, 2022
@Sophie-Xie Sophie-Xie added this to the v3.1.0 milestone Mar 6, 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