Data Factory v2 - Generate a json file per row

感情迁移 提交于 2019-12-02 10:01:39

What I did for now is to load the rows in to a SQL table and run a foreach for each record in the table. The I use a Lookup activity to have an array to loop in a Foreach activity. The foreach activity writes each row to a blob store.

For Olga's documentDb question, it would look like this:

In the lookup, you get a list of the documentid's you want to copy:

You use that set in your foreach activity

Then you copy the files using a copy activity within the foreach activity. You query a single document in your source:

And you can use the id to dynamically name your file in the sink. (you'll have to define the param in your dataset too):

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!