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

WITH * erases path variables #2223

Closed
LiorKogan opened this issue Mar 16, 2022 · 1 comment
Closed

WITH * erases path variables #2223

LiorKogan opened this issue Mar 16, 2022 · 1 comment
Labels

Comments

@LiorKogan
Copy link
Member

LiorKogan commented Mar 16, 2022

RedisGraph 2.4.14, 2.8.9

The following query

GRAPH.QUERY test "MATCH p = (x1)<-[*]-(x2) WITH * RETURN p"

returns

(error) p not defined

In Neo4j, MATCH p = (x1)<-[*]-(x2) WITH * RETURN p is a valid query.

According to https://neo4j.com/docs/cypher-manual/current/clauses/with/
You can use the wildcard * to carry over all variables that are in scope.

@LiorKogan LiorKogan changed the title WITH * erases path variable WITH * erases path variables Mar 16, 2022
@LiorKogan LiorKogan added the bug label Mar 19, 2022
@jeffreylovitz
Copy link
Contributor

jeffreylovitz commented Mar 28, 2022

This issue was resolved by #2233.
EDIT: this is incorrect, the issue is still open.

@jeffreylovitz jeffreylovitz reopened this Mar 30, 2022
@AviAvni AviAvni added this to Valid queries that are considered invalid in Backlog 2022 Apr 14, 2022
@AviAvni AviAvni closed this as completed Jun 21, 2023
Backlog 2022 automation moved this from Valid queries that are considered invalid to Done Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants