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

_AR_EXP_UpdateEntityIdx error about reduce() in ORDER BY #3196

Open
ljhhuxiaoba opened this issue Sep 28, 2023 · 0 comments
Open

_AR_EXP_UpdateEntityIdx error about reduce() in ORDER BY #3196

ljhhuxiaoba opened this issue Sep 28, 2023 · 0 comments

Comments

@ljhhuxiaoba
Copy link

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

Redis version:7.2.0
RedisGraph version: v2.12.10
operating system: windows 11
API:Cypher version 9
query:MATCH () WITH 1 as a0 ORDER BY reduce(a=a0,b IN []|1) RETURN 1
error message:"_AR_EXP_UpdateEntityIdx: Unable to locate a value with alias a0 within the record"

But if I execute another query "MATCH () WITH 1 as a0 ORDER BY reduce(a=1,b IN []|a0) RETURN 1",then it can run successfully.

Steps to reproduce:
CREATE ();
MATCH () WITH 1 as a0 ORDER BY reduce(a=a0,b IN []|1) RETURN 1;

Expected behavior:
The query should run successfully.

Actual behavior:
The query failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant