Custom Vertex IDs and Serialized Graph
Just wondering if anyone has tried to use custom vertex ids and restore a serialized graph?
g.io("/tmp/foo.kryo").write().iterate()
Then doing the converse with a read()
but then it errors with must provide vertex id
.
Looking at the serialized file it seems the vertex ids are present, but presumably aren't being propagated during the read?4 Replies
Sorry it's a bug with string-type custom ID. Will fix it soon.
GitHub
Fix io step read path for string-type vertex ID by li-boxuan · Pull...
g.io(path).read() would fail if the vertex contains custom string-type vertex ID due to a bug in JanusGraphVertexFeatures. This fixes this bug and adds two unit tests for gryo and graphson format.
...
Once this gets merged, you could upgrade your version to the latest snapshot version, or start using new binary.
Awesome, thank you @Boxuan Li !