You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在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

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.05 09:41:02