Skip to content

[New cypher engine] Batch creation + merge returns the same RID + unexpected returned key #3129

@ExtReMLapin

Description

@ExtReMLapin

When creating with UNWIND and MERGE, the returned id of DIFFERENT chunks (if they are different) should have different rids.

Executed query :

UNWIND $batch AS BatchEntry
MERGE (n:CHUNK { subtype: BatchEntry.subtype, name: BatchEntry.name, text: BatchEntry.text, index: BatchEntry.index, pages: BatchEntry.pages, SUMMARY_TASK_DONE: BatchEntry.SUMMARY_TASK_DONE, NER_TASK_DONE: BatchEntry.NER_TASK_DONE, PROPOSE_QUESTIONS_TASK_DONE: BatchEntry.PROPOSE_QUESTIONS_TASK_DONE })
return ID(n) as id

Params :

dump.json

Weird :

Image

So it returns a BatchEntry key with the entry object (never asked for it , wtf ????) and the RID is always #1:0

DB Dump :

DADADADA-backup-20260114-124119950.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