Could you please explicitly state whether it supports Gremlin API (Graph) or not?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thank you for your interest in Azure products and services.
We are investigating and will get back to you soon.
The spark support for graph operations is mainly moving towards using GraphFrames instead of Gremlin in Spark because GraphFrames is more focused on OLAP queries and traversals.
We recommend using Cosmos DB Gremlin API for the OLTP operations and using GraphFrames for OLAP queries
Please refer to the links below
For information about graphframes
https://docs.databricks.com/spark/latest/graph-analysis/graphframes/index.html
https://graphframes.github.io/graphframes/docs/_site/index.html
For writing to Cosmos DB Graph API using GraphFrames
https://syedhassaanahmed.github.io/2018/10/28/writing-apache-spark-graphframes-to-azure-cosmos-db.html
For reading from Cosmos DB Graph API into GraphFrames
https://github.com/Azure/azure-cosmosdb-spark/blob/2.4/samples/graphframes/main.scala
Let us know if you have any further questions.
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.
@KalyanChanumolu-MSFT Thanks for mentioning my blog about writing to Cosmos DB using GraphFrames. The post has been migrated to a new location https://syedhassaanahmed.github.io/2018/10/28/writing-apache-spark-graphframes-to-azure-cosmos-db.html
@syedhassaanahmed Thank you for letting me know. I have updated the link.
Great write up BTW