gpt4 book ai didi

Azure数据工厂: StartDate in Default Parameters

转载 作者:行者123 更新时间:2023-12-02 06:30:51 26 4
gpt4 key购买 nike

我尝试为 startDate 参数指定默认值,如下所示:

enter image description here

我一直在检查如何使用函数指定 so,但到目前为止我还没有找到任何东西。

到目前为止,我为 startDate 指定了手动值,但想法是在每次计划运行时获取当前日期。

我在 blob 存储目标(使用它的地方)中定义了它:

@{formatDateTime(pipeline().parameters.windowStart,'yyyy')}@{formatDateTime(pipeline().parameters.windowStart,'MM')}@{formatDateTime(pipeline().parameters.windowStart,'dd')}@{formatDateTime(pipeline().parameters.windowStart,'HH')}@{formatDateTime(pipeline().parameters.windowStart,'mm' 

有没有办法代替调用参数并直接使用 utcnow() ?

最佳答案

您可以使用utcnow()函数,或者,如果您要定义触发器,则可以使用 trigger().startTime。您可以找到其他日期函数 here .

关于Azure数据工厂: StartDate in Default Parameters,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51213500/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com