fastgraphml icon indicating copy to clipboard operation
fastgraphml copied to clipboard

Ability to preserve source database keys for writing data back to the source databse

Open ArthurKeen opened this issue 3 years ago • 2 comments

The ArangoDB PyG adapter version 1.1 has the ability to preserve source database keys, so that when writing back to the source database, the original keys are used. The adbpyg adapter generates identifiers appropriate to PyG and it is important not to use the :PyG id's as keys when writing back. FastGraphML has the ability to write embeddings back to the source database into user defined collections whose keys should correspond to the source collections the embeddings were derived from. FastGraphML needs to apply the source key dictionary resulting from using the preserve_keys option to the embeddings when writing back to the database, so that the resultant stored embeddings have the correct keys corresponding corresponding to the collection that the embeddings reference. FastGraphML should consider preserving keys by default.

ArthurKeen avatar Sep 30 '22 18:09 ArthurKeen

@sachinsharma9780 has this been resolved?

cw00dw0rd avatar Nov 07 '22 15:11 cw00dw0rd

@cw00dw0rd will be added in future iteration since it require additions in PyG Adapter

sachinsharma9780 avatar Nov 07 '22 15:11 sachinsharma9780