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

Extend support of the "Node By ID Scan" optimization #632

Open
swilly22 opened this issue Apr 13, 2024 · 1 comment · Fixed by #643
Open

Extend support of the "Node By ID Scan" optimization #632

swilly22 opened this issue Apr 13, 2024 · 1 comment · Fixed by #643
Labels

Comments

@swilly22
Copy link
Contributor

127.0.0.1:6379> GRAPH.EXPLAIN g "UNWIND range(0, 20) AS x MATCH (n) WHERE ID(n) = x RETURN collect(x.v)"
1) "Results"
2) "    Aggregate"
3) "        Filter"
4) "            All Node Scan | (n)"
5) "                Unwind"

Apply the Node By ID Scan for broader cases.

@AviAvni
Copy link
Contributor

AviAvni commented Apr 14, 2024

this one too

127.0.0.1:6379> GRAPH.EXPLAIN g "MATCH (n) WHERE ID(n) in range(0, 20) RETURN collect(n.v)"
1) "Results"
2) "    Aggregate"
3) "        Filter"
4) "            All Node Scan | (n)"

@gkorland gkorland linked a pull request Apr 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants