如何将Tumbling Window参数传递到Data Factory UI中的Data Factory管道? [英] How to pass Tumbling Window parameters to a Data Factory pipeline in the Data Factory UI?

查看:66
本文介绍了如何将Tumbling Window参数传递到Data Factory UI中的Data Factory管道?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆