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 — Repeated SET label on the same node across row fanout may fail instead of acting idempotently · Issue #4017 · ArcadeData/arcadedb Closed DescriptionArcadeDB version
The failure mode changes by version:
So this looks like one stable semantic family with different internal failure modes. Environment
Describe the bug Neo4j handles this normally: if the same node is reached twice, the first row adds the label and later rows keep going. ArcadeDB instead fails as soon as the same node is hit again by the same label-setting operation. This means ArcadeDB may crash on ordinary row fanout shapes where a label is applied after a join, cartesian expansion, or any other pattern that can duplicate a bound node. To Reproduce Setup: CREATE (:Person {name:'Alice', age:30}), (:Person {name:'Bob', age:25}), (:Person {name:'Charlie', age:35}); Query: MATCH (n:Person) MATCH (m:Person) WHERE n.age > m.age SET n:Employee RETURN n.name AS name ORDER BY name; Expected behavior Observed Neo4j result: ArcadeDB should also return the rows successfully. Actual behavior
So the repeated label application fails instead of acting idempotently. Control cases If the label is applied only once per node, ArcadeDB behaves normally: MATCH (n:Person) WHERE n.age > 25 SET n:Employee RETURN n.name AS name ORDER BY name; Observed result on Neo4j and all tested ArcadeDB versions: If the duplicated rows are collapsed first, ArcadeDB also behaves normally: MATCH (n:Person) MATCH (m:Person) WHERE n.age > m.age WITH DISTINCT n SET n:Employee RETURN n.name AS name ORDER BY name; Observed result on Neo4j and all tested ArcadeDB versions: So the problem is not ordinary If the same row-fanout shape performs a simple constant property assignment instead of adding a label, ArcadeDB does not fail: MATCH (n:Person) MATCH (m:Person) WHERE n.age > m.age SET n.flag = true RETURN n.name AS name ORDER BY name; Observed result on Neo4j and all tested ArcadeDB versions: This makes the boundary much clearer:
Later rechecking on Stronger reproducer MATCH (n:Person) MATCH (m:Person) WHERE n.age > m.age SET n:Employee:Checked RETURN n.name AS name ORDER BY name; Observed ArcadeDB results:
So this does not look specific to the single label name 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. |