GraphSON mapper
Hi,
I'm trying to ingest some data into AWS Neptune and due to its size I'm forced to use a bulk data importer https://tinkerpop.apache.org/docs/current/dev/io/#graphson-3d0 (unless there's a bulk-insert functionality straight from Gremlin - I couldn't find this). Looking at the GraphSON schema/docs I see there are some IDs on the edges that I am not sure how/if I need to generate.
https://tinkerpop.apache.org/docs/current/dev/io/#graphson-3d0
I'm doing this mapping in Python (but can be done in other languages if there's better support). Any recommendations/tips for this?
I'm trying to ingest some data into AWS Neptune and due to its size I'm forced to use a bulk data importer https://tinkerpop.apache.org/docs/current/dev/io/#graphson-3d0 (unless there's a bulk-insert functionality straight from Gremlin - I couldn't find this). Looking at the GraphSON schema/docs I see there are some IDs on the edges that I am not sure how/if I need to generate.
https://tinkerpop.apache.org/docs/current/dev/io/#graphson-3d0
I'm doing this mapping in Python (but can be done in other languages if there's better support). Any recommendations/tips for this?
Solution
Do you already have data in GraphSON format? Or do you just need to use a bulk importer? If the latter, Neptune has it's own bulk load feature: https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load.html
Overview of how to load data from external files into a Neptune DB instance using the Neptune bulk loader.