How to use Copy Activity to Read Json File & Limitation of Copy Activity - single array is supported ADF Tutorial 2021

Issue: How to use Copy Activity to Read Json File & Limitation of Copy Activity - the single array is supported in Azure data factory.

In this article we are going to learn how to use copy activity to read JSON file & limitation of copy activity - the single array is supported, let's start our demonstration, Open Azure data factory studio, then click on Pipeline and then select New pipeline on the left side of the dashboard, bring the copy activity in the working window, then click on copy activity then go to the source tab and select the +New in source dataset option, then search for azure blood storage and select, then click on continue, then select JSON, then click continue as shown in the picture below.


Fig-1:Create a new pipeline.

Then it will ask for linked service, click + New, it will open a window, select the Azure subscription and then storage account name, and then click on create as shown in the picture below. 



Fig-2: Create a new linked service.

In the dataset, properties select the path as input folder, then select from connection/store as import schema and click ok as shown in the picture below. 



Fig-3: Create a new source dataset.

Once our source dataset is created go to the sink and create our CSV file, click on + New then select Azure blob storage, then click continue, then select ''delimited text'' which is CSV format, then click on continue, then click ok and select the linked service and provide the output path and click none as Import schema, and then click ok, as shown in the picture below. 



Fig-4: Create new dataset & import schema.

Then click on Sink and provide the output path which his ''OutputJson.csv'',  then go back to your pipeline and click on the mapping tab, then click on Import Schemas, then click on debug, once you click on debug it will start the execution process and it will take some time to be completed. after completion, you can see your executed file in your output folder, the path we selected for our output file.

Video Demo: How to use Copy Activity to Read Json File & Limitation of Copy Activity




No comments:

Post a Comment