简体   繁体   English

如何使用 Azure Synapse Spark 池写入 Cosmos DB

[英]How to use Azure Synapse Spark pool to write to Cosmos DB

is it possible to use Spark environment inside Azure Synapse to write data into Azure Cosmos DB using Gremlin API?是否可以在 Azure Synapse 中使用 Spark 环境使用 Gremlin API 将数据写入 Azure Cosmos DB? We need to build graph db into Cosmos, but since we are already using Azure Synapse, we would like to avoid charge for another tool like Databricks.我们需要将图形数据库构建到 Cosmos 中,但由于我们已经在使用 Azure Synapse,我们希望避免对 Databricks 等其他工具收费。

Thank you.谢谢你。

Unfortunately, you cannot use Spark environment inside Azure Synapse to write data into Azure Cosmos DB using Gremlin API.遗憾的是,您无法在 Azure Synapse 中使用 Spark 环境使用 Gremlin API 将数据写入 Azure Cosmos DB。

Azure Synapse Link is available for Azure Cosmos DB SQL API containers or for Azure Cosmos DB API for Mongo DB collections. Azure Synapse Link 可用于Azure Cosmos DB SQL API容器或Azure Cosmos DB API for Mongo DB集合。

Synapse Link for Azure Cosmos DB is a cloud-native hybrid transactional and analytical processing (HTAP) capability that enables you to run near real-time analytics over operational data in Azure Cosmos DB.适用于 Azure Cosmos DB 的Synapse Link是一种云原生混合事务和分析处理 (HTAP) 功能,使你能够对 Azure Cosmos DB 中的操作数据运行近乎实时的分析。 Synapse Link creates a tight seamless integration between Azure Cosmos DB and Azure Synapse Analytics. Synapse Link 在 Azure Cosmos DB 和 Azure Synapse Analytics 之间创建紧密的无缝集成。

Today (ie September 22nd, 2020), you can run Spark queries against the data in MongoDB collections, with no impact to OLTP workloads and no ETL.今天(即 2020 年 9 月 22 日),您可以对 MongoDB 集合中的数据运行 Spark 查询,而不会影响 OLTP 工作负载,也没有 ETL。 Beginning next month, you'll also be able to use Synapse SQL serverless to run T-SQL queries and to build real-time BI dashboards using Power BI in Direct Query mode over this data.从下个月开始,您还可以使用 Synapse SQL Serverless 来运行 T-SQL 查询,并使用 Power BI 以直接查询模式对这些数据构建实时 BI 仪表板。

在此处输入图片说明

Reference: Support for Azure Cosmos DB API for Mongo DB in Azure Synapse Link参考: 在 Azure Synapse 链接中支持用于 Mongo DB 的 Azure Cosmos DB API

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM