Skip to content

[CYPHER] Label expression predicate in WHERE clause returns 0 rows instead of expected rows #3936

Closed

Description

@ExtReMLapin

Test: labelExpressionPredicateInWhere (line 1077)

Setup (create test data):

CREATE (n1:IsLabeledTest {name: 'test1'}),
       (n2:IsLabeledTest {name: 'test2'}),
       (n3:IsLabeledTest {name: 'test3'}),
       (n4:IsLabeledTest {name: 'test4'})

Cypher query to execute:

MATCH (n:IsLabeledTest) WHERE n:IsLabeledTest RETURN count(n) AS cnt

Expected behavior:

MATCH (n:IsLabeledTest) WHERE n:IsLabeledTest RETURN count(n) should return 4

ArcadeDB result:

{"cnt": 0}

Neo4j result:

{"cnt": 4}

The label expression predicate in the WHERE clause returns 0 rows instead of the expected 4 rows.

Activity

  1. lvca commented on Apr 19, 2026

    @lvca
    Member

    Is this already fixed on main?

  2. ExtReMLapin commented on Apr 19, 2026

    @ExtReMLapin
    ContributorAuthor

    Qwen was stupid

  3. added
    invalid
    on Apr 19, 2026
  4. self-assigned this
    on Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

invalid

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions