Different result when moving node label backwards · Issue #3224 · RedisGraph/RedisGraph · GitHub
Skip to content

Different result when moving node label backwards #3224

Open

Description

@ljhhuxiaoba

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:
Ⅰ: OPTIONAL MATCH (aypekdak:Person)<-[..1]-(huddsoyg:Person)-[]-()<-[]-(zghoicas:Person) RETURN count(zghoicas)
Ⅱ: OPTIONAL MATCH (aypekdak:Person)<-[
..1]-(huddsoyg)-[]-()<-[]-(zghoicas:Person) WHERE huddsoyg:Person RETURN count(zghoicas)

I think these two queries are equivalent, but the first returns 14 and second returns 22.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions