azure-cosmosdb-spark icon indicating copy to clipboard operation
azure-cosmosdb-spark copied to clipboard

Unable to read edges from Cosmos DB

Open mihirrane-wb opened this issue 2 years ago • 0 comments

I used the code provided to write the data into Cosmos DB. I had written vertices with different labels into Cosmos DB cosmosDbVertices.write.format(cosmosDbFormat).mode("append").options(**cosmosDbConfig).save() cosmosDbEdges.write.format(cosmosDbFormat).mode("append").options(**cosmosDbConfig).save() I was successful in doing so using the Cosmos OLTP library. I can see the vertices and edges in Cosmos DB when I checked using the Azure Portal.The problem arises when I try to read - I can only see these columns id:string label:string element:struct id:string _value:string I am not getting columns _isEdge, _sink and _vertexId.

mihirrane-wb avatar Dec 21 '21 14:12 mihirrane-wb