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

Update error : alias 'n1' did not resolve to a graph entity #463

Open
gkorland opened this issue Sep 30, 2023 · 0 comments
Open

Update error : alias 'n1' did not resolve to a graph entity #463

gkorland opened this issue Sep 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gkorland
Copy link
Contributor

gkorland commented Sep 30, 2023

ref: RedisGraph/RedisGraph#3201

I execute two queries on my empty RedisGraph and get an error.

Redis version:7.2.0
RedisGraph version: v2.12.10
operating system: windows 11
API:Cypher version 9

Steps to reproduce:

Execute the following two queries separately

GRAPH.QUERY graph 'OPTIONAL MATCH (n1:L1) SET n1:L2 RETURN 1'
GRAPH.QUERY graph 'OPTIONAL MATCH (n1:L1) WITH * SET n1:L2 RETURN 1'

I think these two queries are equivalent, but the first one can be executed successfully but the second one gives an error and the error message is as follows:
"Update error: alias 'n1' did not resolve to a graph entity"

I don't think this strange inconsistency should occur.

@gkorland gkorland added the bug Something isn't working label Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant