FalkorDB icon indicating copy to clipboard operation
FalkorDB copied to clipboard

Error about "_AR_EXP_UpdateEntityIdx"

Open gkorland opened this issue 2 years ago • 2 comments

Created by: @ljhhuxiaoba Source: https://github.com/RedisGraph/RedisGraph/issues/3032 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.

gkorland avatar Sep 25 '23 10:09 gkorland

Origin comment by: @LiorKogan 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.

gkorland avatar Sep 25 '23 10:09 gkorland

Any update on this as we have this problem in production?

promentol avatar Apr 24 '25 16:04 promentol