Modify global parameter ADF pipeline

丶灬走出姿态 提交于 2019-12-02 14:38:10

问题


How can I modify the value of a global parameter declared in a pipeline of an ADF?

Let's say I need to check whether or not a file in a ADLS exists. I declare a boolean global parameter, but according to my logic inside a U-SQL activity I need to modify its value. How can I do that?

Thanks!!!


回答1:


U-SQL's script parameter model only provides input parameters and no output parameters. If you want to communicate something back, you currently have to do this via a file. E.g., you write the file in the script and then use a Powershell activity to look at the file to set the ADF parameter (I assume that Data Factory has that option).



来源:https://stackoverflow.com/questions/50118575/modify-global-parameter-adf-pipeline

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