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

Different result when adding "WHERE a=a" #3221

Open
ljhhuxiaoba opened this issue Nov 23, 2023 · 0 comments
Open

Different result when adding "WHERE a=a" #3221

ljhhuxiaoba opened this issue Nov 23, 2023 · 0 comments

Comments

@ljhhuxiaoba
Copy link

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 wscygnst=wscygnst RETURN DISTINCT count(milyqbqp)

I think these two queries are equivalent, but the first returns 13 and second returns 15.

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