我嘗試使用Azure Data Factory將表存儲中的數據推送到Azure Data Lake Store。並在數據工廠。如何將日期時間附加到由數據工廠發佈到Azure Data Lake Store的文件名?
我定義了輸出實體並嘗試將datetime
添加到輸出文件,但似乎不起作用。
請參見下面的代碼:
*"published": false,
"type": "AzureDataLakeStore",
"linkedServiceName": "Destination-DataLakeStore-bwb",
"typeProperties": {
"fileName": "tbTotalTollData{year}{Month}{Day}{Hour}",
"folderPath": "Samples",
"format": {
"type": "TextFormat",
"columnDelimiter": ","
}
}
使用{year}{Month}{Day}{Hour}
爲文件名,但不能工作。