GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — `COLLECT { ... }` subqueries may return `null` instead of the collected list. · Issue #3957 · ArcadeData/arcadedb Closed DescriptionArcadeDB versionObserved on Docker images:
Environment
Describe the bug
In the minimized repro below, Neo4j returns: ArcadeDB returns To ReproduceSetupCREATE (:Person {name:'Alice'}), (:Person {name:'Bob'}), (:Person {name:'Charlie'}); MATCH (a:Person {name:'Alice'}), (b:Person {name:'Bob'}) CREATE (a)-[:KNOWS]->(b); QueryMATCH (p:Person) RETURN p.name AS person, COLLECT { MATCH (p)-[:KNOWS]->(f:Person) RETURN f.name } AS friendNames ORDER BY person; Expected behaviorThe correlated collect subquery should produce a list for each outer row: Actual behaviorArcadeDB returns: Control casesControl 1, the equivalent query written with MATCH (p:Person) OPTIONAL MATCH (p)-[:KNOWS]->(f:Person) RETURN p.name AS person, collect(f.name) AS friendNames ORDER BY person; Observed result: Control 2, a correlated MATCH (p:Person) RETURN p.name AS person, EXISTS { MATCH (p)-[:KNOWS]->(:Person) } AS hasFriend ORDER BY person; Observed result: This suggests the issue is specifically tied to Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |