gpt4 book ai didi

azure-data-factory - Azure数据工厂系统变量管道触发器时间日期转换错误 "The function call must take the completion string"

转载 作者:行者123 更新时间:2023-12-03 08:11:42 24 4
gpt4 key购买 nike

在 ADF 中,我尝试获取管道触发时间的系统变量,并将其从 UTC 转换为 EST,仅使用日期格式而不是时间 (yyyy-MM-dd)。

应该很简单,但我不断收到这个非描述性错误:

The function call must take the completion string

convertFromUtc(@pipeline().TriggerTime, '东部标准时间', 'yyyy-MM-dd')

还尝试先将其转换为字符串并得到相同的错误:

convertFromUtc(string(@pipeline().TriggerTime), '东部标准时间', 'yyyy-MM-dd')

最佳答案

只是一个小改动,显然应该如下所示,以 @ 开头。

@convertFromUtc(pipeline().TriggerTime, 'Eastern Standard Time', 'yyyy-MM-dd')

enter image description here

enter image description here

关于azure-data-factory - Azure数据工厂系统变量管道触发器时间日期转换错误 "The function call must take the completion string",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70625041/

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