在Azure Data Factory的FetchXML查询中用参数pDate替代变量
替换FetchXML中的变量为Azure Data Factory管道参数
直接将原FetchXML里引用变量的表达式替换为管道参数的引用语法即可,修改后的完整代码如下:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="my_attachment"> <all-attributes/> <filter type="and"> <condition attribute="createdon" operator="on-or-after" value="@{pipeline().parameters.pDate}" /> </filter> </entity> </fetch>
在Azure Data Factory中,引用管道参数的标准语法为@{pipeline().parameters.[参数名称]},替换后运行管道时,系统会自动读取你配置的pDate参数值,无需再手动修改变量。
内容的提问来源于stack exchange,提问作者Joel
相关产品推荐
相关产品推荐

