Skip to content

[New cypher engine] Failing query #3128

@ExtReMLapin

Description

@ExtReMLapin

Hello,
When trying with the new cypher engine i have an error with this query com.arcadedb.exception.CommandExecutionException :

(also having a more descriptive error would help)

UNWIND $batch as row
    MATCH (a) WHERE ID(a) = row.source_id
    MATCH (b) WHERE ID(b) = row.target_id
MERGE (a)-[r:in]->(b) RETURN a, b, r

Also gave a try with :

UNWIND $batch as row
    MATCH (a),(b) WHERE ID(a) = row.source_id and ID(b) = row.target_id 
    MERGE (a)-[r:in]->(b)
RETURN a, b, r

params for the batch :

{"batch": [{"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}, {"source_id": "#1:0", "target_id": "#4:0", "features": {}, "relation_type": "in"}]}

Database dump right before the error :

DSFKSLMDFKLM-backup-20260114-121631537.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions