Skip to content

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

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.

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions