Azure 数据工厂 toTime 格式和输出只是 hh:mm:ss
Azure Data Factory toTime Format and Output just hh:mm:ss
我有 nvarchar 格式的小时列...例如示例列是
14:45:56
20:03:25
etc
我们知道在 ADF 中有 toDate 和 ToTimeStamp 来在派生列中创建表达式,例如:
我试过了
toTimestamp(toString((currentUTC()+ hours(7))),'HH:mm:ss')
但是当我尝试查看时结果为空。非常感谢 post 的回答...
您必须在 toString() 和 toTimestamp() 中指定时间格式:
toTimestamp(toString(currentUTC()+ hours(7),'HH:mm:ss'),'HH:mm:ss')
我有 nvarchar 格式的小时列...例如示例列是
14:45:56
20:03:25
etc
我们知道在 ADF 中有 toDate 和 ToTimeStamp 来在派生列中创建表达式,例如:
我试过了
toTimestamp(toString((currentUTC()+ hours(7))),'HH:mm:ss')
但是当我尝试查看时结果为空。非常感谢 post 的回答...
您必须在 toString() 和 toTimestamp() 中指定时间格式:
toTimestamp(toString(currentUTC()+ hours(7),'HH:mm:ss'),'HH:mm:ss')