Azure Data Factory Copy Data dynamically get last blob

岁酱吖の 提交于 2019-12-24 11:02:02

问题


I have an Azure Data Factory Pipeline that runs on a Blob Created Trigger, I want it to grab the last Blob added and copy that to the desired location.

How do I dynamically generate the file path for this outcome?

  • System Variables
  • Expressions and Functions

回答1:


"@triggerBody().folderPath" and "@triggerBody().fileName" captures the last created blob file path in event trigger. You need to map your pipeline parameter to these two trigger properties. Please follow this link to do the parameter passing and reference. Thanks.



来源:https://stackoverflow.com/questions/52334901/azure-data-factory-copy-data-dynamically-get-last-blob

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