Configuration for Transferring JSON from Azure Cosmos DB to Snowflake Using Azure Data Factory
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