Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
286 views
in Technique[技术] by (71.8m points)

How to read csv file data line by line in Azure Data Factory and store it in a variable

I want to read a csv file line by line and store that value in variable so that i can pass that in for each activity in Azure data factory.

So I want to read records line by line and store each record in a variable so that we can pass in for each activity one by one and generate new data based on these records.

How can we achive this ?

question from:https://stackoverflow.com/questions/66061511/how-to-read-csv-file-data-line-by-line-in-azure-data-factory-and-store-it-in-a-v

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can follow these steps:

  1. Lookup active to get the data of the csv data. enter image description here
  2. Foreach the csv rows. enter image description here
  3. In Foreach active, set the row value to the variable. enter image description here
  4. Build your active after the variable, for example: enter image description here

If you have any other concerns, please feel free to let me know.

HTH.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...