Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
6,726 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I am looking for the best strategy or method to sink from a defined pipeline array. I have with success created a foreach loop, that iterates over a list of objects. Then each object have been stored within a Pipeline variable of type Array. Now I would like to sink the array to csv. How to do that?
Thanks
Klaus
It is just one array. In the Foreach loop how do I sink the data to a data store? The variable is located on the Pipeline and is called RecipientList. It is ready to be stored, but I dont know how to
If the array is the actual data you want saved, use the web request as your source dataset within a copy activity
If it's detail of the source that you need to subsequently fetch, use the output of the web request in a foreach loop
I cant see that it is possible to use a Web Request as a Source ? Is it possible? Please explain further..
How do you currently make the request? REST?
If you found your own solution, please share here with the community.
Sign in to comment
1 answer
Sort by: Most helpful
Hello @Klaus Nørregaard , @Ryan Abbey . Welcome to Microsoft Q&A.
I don't want to interrupt the great collaboration you have going on, but I thought of suggesting another way.
If you just need to get the data from a web-based source, use the HTTP dataset or the REST dataset. Web activity is more for getting meta-data.
Web activity can be used to write via leveraging a storage api.
It is also possible to write from an array by using the "additional column" feature in a delimited text dataset. The trick in this, is to use an almost-empty file as source, put the array into additional column, and map to sink.
Sign in to comment