-
Notifications
You must be signed in to change notification settings - Fork 41
Gremlin bulk insert doesn't insert edge documents #69
Comments
I looked into this further by using CosmosDB's SQL query functionality and I found something. The document structure of the edge has this shape:
However, when I created a similar relationship through the Azure CosmosDB Portal, the edge document has this shape.
My initial thought is that the bulk executor was not adding any edges, but that doesn't appear to be the case. Instead, the edges that are being added are not in the correct shape for CosmosDb to actually treat them as edges. The query |
We are having the same problem, did you find a solution for this? |
@AdamBremholm No, I did not. I ended up using the bulk insert for nodes and then created the edges between them without the help of the tool. It was painfully slow. |
Thanks for the reply! |
I got the link to this Github through this Nuget page, so if this is the wrong tracker, please redirect me.
When using the GraphBulkExecutor, I am able to load vertices, but not edges. There is no error message when loading the edges, they simply do not show up in the graph. I am using version
2.4.1-preview
of the Nuget package. I am using 2.9.2.0 of the Azure Cosmos DB emulator. I have also tried against an actual Cosmos DB graph database as of the date of this post (4/1/2020).Here is a link to a sample application that I think demonstrates the problem adequately. It could be that I am creating the edges incorrectly, but if so I do not see the problem and, as I said before, the library gives me no indication of failure. In fact, if you review the logs that I've sprinkled throughout the application, it tells me specifically that there were no bad input documents during the edge bulk insert.
If there's any additional information I can provide, please let me know.
The text was updated successfully, but these errors were encountered: