【发布时间】:2017-04-04 16:05:24
【问题描述】:
我一直在尝试找到一种方法来动态设置管道的start 和end 属性。这样做的原因是在管道执行当天前 5 天处理时间序列的文件。
我尝试在管道 JSON 中设置它:
"start": "Date.AddDays(SliceStart, -5)"
"start": "Date.AddDays(SliceEnd, -5)"
当通过 VS2015 发布时,我收到以下错误:
Unable to convert 'Date.AddDays(SliceEnd, -5)' to a DateTime value.
Please use ISO8601 DateTime format such as \"2014-10-01T13:00:00Z\"
for UTC time, or \"2014-10-01T05:00:00-8:00\" for Pacific Standard
Time. If the timezone designator is omitted, the system will consider
it denotes UTC time by default. Hence, \"2014-10-01\" will be
converted to \"2014-10-01T00:00:00Z\" automatically..
","code":"InputIsMalformedDetailed"
还有什么其他方法可以做到这一点?
【问题讨论】: