Configuration for Transferring JSON from Azure Cosmos DB to Snowflake Using Azure Data Factory

Anonymous
2024-10-15T09:40:05.8+00:00

We need to transfer an entire JSON object from Azure Cosmos DB to a Snowflake table. We have created a table in Snowflake with a single column named emp_details of type VARIANT to store the JSON data.

How can we configure the mapping in Azure Data Factory (ADF) to ensure that the entire JSON object, such as the following, is pushed into the single variant emp_details column in Snowflake?

 {   "employee": {     "id": 1,     "name": "John Doe",     "position": "Software Engineer",     "salary": 75000,     "location": {       "city": "Seattle",       "state": "Washington"     }   } }

 we are not able to roll up the source as single JSON object in the mapping

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.