Different result when adding "WHERE id()>=0.0"
gkorland opened this issue · comments
ref RedisGraph/RedisGraph#3222
I execute two queries 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
To create graph:
input01.txt
Query pair:
Ⅰ: MATCH (dqowryyf:Person)<-[]-()-[]-(wscygnst:Movie)-[]-(milyqbqp:Person) RETURN DISTINCT count(milyqbqp)
Ⅱ: MATCH (dqowryyf:Person)<-[]-()-[]-(wscygnst:Movie)-[]-(milyqbqp:Person) WHERE id(wscygnst)>=0.0 RETURN DISTINCT count(milyqbqp)
I think these two queries are equivalent, but the first returns 13 and second returns 15.