Hello @Shirish Reddy G ,
Sorry for the delayed response. Here are the details.
Since the schema is changing, we can't perform flatten on a moving schema.
For dynamic names, use "Rule-based mapping" instead of fixed mapping. You can use regex and wildcards there as well as "Deep column traversal" to expand all nested elements.
A similar thread has been discussed here.
Please let us know if you have any further questions.
How to unroll Json and Cosmos multiple nested Arrays in a single document and load dynamically into SQL using ADF
Shirish Reddy G
1
Reputation point
We have two sources in the form of JSON and COSMOS. We have multiple sub arrays as nested which we need to unroll them and load each nested array into separate table based on the values more or less like Parent-Child Hierarchy. How can we achieve this using Azure Data Factory, as we cannot unroll the multiple arrays unless we configure them, and we can only unroll one array at once using Flatten Transformation. Is there any possibility? If yes, Please help us with the approach to follow.
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
1 answer
Sort by: Most helpful
-
Bhargava-MSFT 31,361 Reputation points Microsoft Employee Moderator
2022-11-29T02:35:55.337+00:00