Joining multi Flat files - JSON File and Table in ADF Data Flow

Introduction

In this blog post, we are just going to Join and Join but in logical manners to understand ADF Data Flow. Here in ADF Data flow we are using Flatten, Select and Join Transform.

Hope it will be interesting.

 

Case scenario

We have some Flat file which contains Employee Code, Salary and Bonus Information. There are multiple Flat files in our Azure BLOB Container.

Now we have a JSON file which contains information about Employee Code, Employee Name and Employee Email. We also have table object named Employee State. Which contain Employee Code and State name.

 


 

Now we have to join all using ADF data flow. First we used Get Meta Data activity to collect all file information. By using ForEach we are moving one by one file. Within the for Each we have Mapping Data Flow activity which actually call our data low. Rest are done by Data Flow.

 

ADF Solution

 

Control Flow Structure

 


 

Data Flows Structure

 

 

 

Here we are not going to describe related to Control Flow and Parameterized Data sets. You can easily capture it from my previous blog post.

 

From Control Flow, we are going to show only Mapping Data Flow.

 

Mapping Data Flow of Control Flow

 


 

Data Flow

 

Source 1

 


 

Source 2

 


 

Source 3

 


 

Flatten Transform

 


 

JOIN Transform

 


 

 

Sink and Output

 


 

 

 

Hope you like it.


Comments

Popular Posts

Simultaneously Loading Multiple CSV files to Different Destination Table

ADF using Parameterized Stored Procedure

Working with Python -- File Handling