Azure Cosmos DB¶
Cosmos 数据库 (DB) 是一种全局分布式、低延迟、多模型数据库,用于管理大规模数据。它是由 Microsoft Azure 作为 PaaS(平台即服务)提供的一种基于云的 NoSQL 数据库。它是一种高可用、高吞吐量、可靠的数据库,通常被称为无服务器数据库。Cosmos 数据库包含 Azure Document DB,并且随处可用。
Azure Cosmos 文档传感器¶
检查 CosmosDB 中是否存在与给定查询匹配的文档。 AzureCosmosDocumentSensor
tests/system/microsoft/azure/example_azure_cosmosdb.py
t1 = AzureCosmosDocumentSensor(
task_id="check_cosmos_file",
collection_name="airflow_example_coll",
document_id="airflow_checkid",
database_name="database_name",
)