如何将Tumbling Window参数传递到Data Factory UI中的Data Factory管道? [英] How to pass Tumbling Window parameters to a Data Factory pipeline in the Data Factory UI?
问题描述
我已经在 Azure Data Factory
中定义了带有翻滚窗口触发器的管道,如下所示:
我希望我的活动接收Tumbling窗口参数( trigger().outputs.windowStartTime
和 trigger().outputs.windowEndTime
),但是我没有在
然后可以添加以@开头的函数.所以:
@trigger().outputs.windowStartTime@trigger().outputs.windowEndTime
如果需要在传递参数之前对参数调用函数,也可以这样做
@addHours(trigger().outputs.windowEndTime,1)
I have defined a pipeline in Azure Data Factory
with a Tumbling Window trigger, as seen below:
I would like for my activities to receive the Tumbling window parameters (trigger().outputs.windowStartTime
and trigger().outputs.windowEndTime
) however I did not find any examples in the documentation showing how to do this in the UI.
Question
How can I pass the Tumbling Window parameters to a Data Factory pipeline in the Data Factory UI?
Assuming the pipeline that you're triggering is already paramaterised then you're nearly there.
When adding the trigger you'll see a second screen to pass parameters from the trigger.
You can then add your functions prefixed with @. So:
@trigger().outputs.windowStartTime
@trigger().outputs.windowEndTime
If you need to call a function on the parameter before you pass it you can do that too
@addHours(trigger().outputs.windowEndTime,1)
这篇关于如何将Tumbling Window参数传递到Data Factory UI中的Data Factory管道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!