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
ArcadeDB Version:
23.10.1OS and JDK Version:
docker image
Expected behavior
Cypher
MERGEshould use merge key with unique indexActual behavior
Cypher
MERGEshould use merge key with unique index, please look at the steps to reproduce the problem.Steps to reproduce