Query Azure Cosmos DB with Apache Spark for Azure Synapse Analytics

Data Engineer
Synapse Analytics

Learn how you can perform analytics against Azure Cosmos DB using Azure Synapse Link.

Learning objectives

After completing this module, you'll be able to:

  • Query the Azure Cosmos DB analytical store
  • Perform simple aggregations with analytical store data
  • Perform cross container queries in Azure Cosmos DB
  • Perform complex queries with JSON data
  • Work with the windowing function and other aggregations
  • Write data back to the Azure Cosmos DB transactional store
  • Read data from the transactional store


  • Before taking this module, it is recommended that you complete Data Fundamentals.