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:
Neo4j result:
The label expression predicate in the WHERE clause returns 0 rows instead of the expected 4 rows.
Test:
labelExpressionPredicateInWhere(line 1077)Setup (create test data):
Cypher query to execute:
Expected behavior:
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.