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

Error about "_AR_EXP_UpdateEntityIdx" #3032

Open
ljhhuxiaoba opened this issue Apr 13, 2023 · 1 comment · May be fixed by #3112
Open

Error about "_AR_EXP_UpdateEntityIdx" #3032

ljhhuxiaoba opened this issue Apr 13, 2023 · 1 comment · May be fixed by #3112
Labels

Comments

@ljhhuxiaoba
Copy link

I execute a query on my RedisGraph and get an error.

Redis version:6.2.10
RedisGraph version: v2.10.9
operating system: windows 10
API:Cypher version 9
query:unwind [p=()-[]->()|reduce(a=1,b in [1]|1)] as n return n
error message:"_AR_EXP_UpdateEntityIdx: Unable to locate a value with alias [p=()-[]->()|reduce(a=1,b in [1]|1)] within the record"

But if I execute another query:return [p=()-[]->()|reduce(a=1,b in [1]|1)] as n,then it can run successfully.

Steps to reproduce:
create ()-[:T]->();
unwind [p=()-[]->()|reduce(a=1,b in [1]|1)] as n return n;

Expected behavior:
The query should run successfully.

Actual behavior:
The query failed.

@LiorKogan LiorKogan added the bug label Apr 13, 2023
@LiorKogan
Copy link
Member

Thank you again @ljhhuxiaoba

There are several cases where RedisGraph does not [yet] handle paths and path variables as it should.
See #2464, #2465, #2341, #2223 (and several more)
This is another case that we should fix.

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