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 — Cypher self-join on the same edge type can return incorrect empty results on a populated graph · Issue #3758 · ArcadeData/arcadedb Closed Milestone DescriptionI'm running some queries on stackoverflow dataset that I shared wtih you. We are seeing what looks like a Cypher engine bug in embedded ArcadeDB, not a client binding issue. Environment:
A co-occurrence query over a populated property graph sometimes returns an empty result set even though the graph clearly contains matching data. Query under test: MATCH (q:Question)-[:TAGGED_WITH]->(t1:Tag) MATCH (q)-[:TAGGED_WITH]->(t2:Tag) WHERE t1.Id < t2.Id RETURN t1.TagName AS tag1, t2.TagName AS tag2, count(*) AS cooccurs ORDER BY cooccurs DESC, tag1 ASC, tag2 ASC LIMIT 10 Expected behavior:
Observed behavior:
Why this looks like an ArcadeDB issue:
Manual validation logic:
Additional note: MATCH (q:Question)-[:TAGGED_WITH]->(t:Tag) WITH q, collect(t) AS tags UNWIND tags AS t1 UNWIND tags AS t2 WITH t1, t2 WHERE t1.Id < t2.Id RETURN t1.TagName AS tag1, t2.TagName AS tag2, count(*) AS cooccurs ORDER BY cooccurs DESC, tag1 ASC, tag2 ASC LIMIT 10 In that case we observed a single row with null tag names and a large count, which also points to a Cypher execution issue around this pattern. Activity
|
| 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. |