nested loop in adf

Vineet S 1,350 Reputation points
2024-11-18T21:28:29.8133333+00:00

Hi,

what happened in ADF engineer when nested loop is applied which are the cases its required apart getmetadata and count of files and all

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,991 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nandan Hegde 32,831 Reputation points MVP
    2024-11-19T03:43:17.8166667+00:00

    The concept of nested loops remains the same whether be in coding world or in ADF as below aspect :

    https://www.programiz.com/cpp-programming/nested-loops

    in ADF/Synapse, below are some of the examples:

    1. Power BI <> ADF integration

    Assume I need to get last refresh status of all reports within my workspace

    a) the 1st loop would get me the list of all reports within the workspace

    b) the inner loop would iterate through this list and get individual reports details

    the above concept can be used for other aspects like get list of all ADF pipelines and get status of the individual pipelines etc.

    1. meta data driven pipelines

    Assume you have a common logic of syncing data (multiple tables) from 1 database into another

    and you have created a pipeline for the same.

    And you want to do that synchronization for multiple databases, so you would need a nested logic; 1st get list of all databases and looping through it and then syncing/looping all tables from the individual databases

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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