Skip to content

Support Batch Upserts in Live Loader #4829

@larvinloy

Description

@larvinloy

What you wanted to do

Given an existing cluster, we want to be able to insert relatively big data-sets (multiple files) that might contain nodes that already exist in the graph.

What you actually did and why it wasn't great

To do this we decided to use upsert blocks, but unfortunately it appears that I cannot pass an array of upsert blocks to the live loader, the way you could with set.

Any external references to support your case

The only other option seems to be to adopt his approach here, but the number of connections we need to make between the nodes is huge and having to make each connection though an individual call to the mutate endpoint is not feasible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/live-loaderIssues related to live loading.area/upsertIssues related to upsert operations.kind/enhancementSomething could be better.status/acceptedWe accept to investigate/work on it.status/needs-attentionThis issue needs more eyes on it, more investigation might be required before accepting/rejecting it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions