Struggling with getting ADF to transform JSON into something I can pass to SQLDB

Jeff Bunker 0 Reputation points
2023-03-27T05:50:10.64+00:00

Hey folks, so I currently have an API pulling data from a SaaS application and saving the JSON into a blob in ADF, but I am now trying to transform this data into a table that will be passed into SQLDB. It is a paged API with max records returned as 25 so I have a total of 401 pages of 25 records all merged into this single JSON. I can get a data flow to separate the two columns, one is columns and one is row down to the individual items (in green) in separate streams, but how do I get these both to relate and the correct information in the correct column? As it currently is just a column of columns and a column of rows. If I flatten the rows one less it maintains an array for each row, but then won't map to the columns. I feel like there is an easy answer here and I've just over thought it.

User's image

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.