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

match where clause with multiple condition (InValid index) #2701

Closed
czpmango opened this issue Jan 19, 2021 · 4 comments
Closed

match where clause with multiple condition (InValid index) #2701

czpmango opened this issue Jan 19, 2021 · 4 comments
Assignees
Labels
type/feature req Type: feature request

Comments

@czpmango
Copy link
Contributor

(czp@nebula) [nba]> match (n:player) where n.age>43   return n.age,n.name
+-------+-------------------+
| n.age | n.name            |
+-------+-------------------+
| 45    | "Jason Kidd"      |
+-------+-------------------+
| 46    | "Grant Hill"      |
+-------+-------------------+
| 47    | "Shaquile O'Neal" |
+-------+-------------------+
| 45    | "Steve Nash"      |
+-------+-------------------+
Got 4 rows (time spent 35201/35831 us)

Tue, 19 Jan 2021 17:20:07 CST

(czp@nebula) [nba]> match (n:player) where n.age>43 and n.name > "S"  return n.age,n.name
[ERROR (-8)]: IndexNotFound: No valid index found

@czpmango
Copy link
Contributor Author

This is a TCK test case from OpenCypher.

@Aiee Aiee self-assigned this Mar 23, 2021
@avently
Copy link

avently commented Apr 13, 2021

Actually I have the same problem with
LOOKUP ON profile WHERE profile.name == "something" AND profile.email == "something"

Is there a workaround?

@CPWstatic
Copy link
Contributor

LOOKUP ON profile WHERE profile.name == "something" YIELD profile.email as email | YIELD $-.email WHERE $-.email == "something"

@avently
Copy link

avently commented Apr 13, 2021

@CPWstatic thanks!

@CPWstatic CPWstatic transferred this issue from vesoft-inc/nebula-graph Aug 28, 2021
@CPWstatic CPWstatic added the type/feature req Type: feature request label Aug 28, 2021
@czpmango czpmango closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

4 participants