-
-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationwontfixThis will not be worked onThis will not be worked onworkaround-provided
Milestone
Description
ArcadeDB Version:
23.10.1
OS and JDK Version:
docker image
Expected behavior
Cypher MERGE should use merge key with unique index
Actual behavior
Cypher MERGE should use merge key with unique index, please look at the steps to reproduce the problem.
Steps to reproduce
CREATE VERTEX TYPE Test;
CREATE PROPERTY Test.id STRING;
CREATE INDEX ON Test (id) UNIQUE;
CREATE (v:Test{id: 0});
UNWIND range(0, 10) AS id MERGE (v:Test{id: id}) RETURN v; // returns: Found duplicate key in index Duplicated key [0] found on index 'Test[id]' already assigned to record #1:0
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationwontfixThis will not be worked onThis will not be worked onworkaround-provided