我試圖發佈此ADF DataLakeAnalyticsU-SQL管道活動繼蔚藍步步DOC(https://docs.microsoft.com/en-us/azure/data-factory/data-factory-usql-activity)數據工廠解決方案。腳本路徑到Azure的數據工廠DataLakeAnalytics的u-SQL管道
{
"type": "DataLakeAnalyticsU-SQL",
"typeProperties": {
"scriptPath": "\\scripts\\111_risk_index.usql",
"scriptLinkedService": "PremiumAzureDataLakeStoreLinkedService",
"degreeOfParallelism": 3,
"priority": 100,
"parameters": {
"in": "/DF_INPUT/Consodata_Prelios_consegna_230617.txt",
"out": "/DF_OUTPUT/111_Analytics.txt"
}
},
"inputs": [
{
"name": "PremiumDataLakeStoreLocation"
}
],
"outputs": [
{
"name": "PremiumDataLakeStoreLocation"
}
],
"policy": {
"timeout": "06:00:00",
"concurrency": 1,
"executionPriorityOrder": "NewestFirst",
"retry": 1
},
"scheduler": {
"frequency": "Minute",
"interval": 15
},
"name": "ConsodataFilesProcessing",
"linkedServiceName": "PremiumAzureDataLakeAnalyticsLinkedService"
}
在出版得到這個錯誤:
25/07/2017 18:51:59- Publishing Project 'Premium.DataFactory'....
25/07/2017 18:51:59- Validating 6 json files
25/07/2017 18:52:15- Publishing Project 'Premium.DataFactory' to Data
Factory 'premium-df'
25/07/2017 18:52:15- Value cannot be null.
Parameter name: value
試圖弄清楚了什麼可能是錯誤的項目也提出了該問題駐留到活動選項"typeProperties"
如上圖所示,專門爲scriptPath
和scriptLinkedService
屬性。該醫生說:
scriptPath: Path to folder that contains the U-SQL script. Name of the file
is case-sensitive.
scriptLinkedService: Linked service that links the storage that contains the
script to the data factory
發佈項目沒有他們(使用硬編碼script
)將成功完成。問題是,我無法弄清楚究竟把什麼放在他們身上。我嘗試了幾種組合路徑。我唯一知道的是腳本文件必須作爲依賴項在本地引用到解決方案中。
有人可以幫助我嗎?
預先感謝您。
它工作。謝謝。對此沒有文檔感到羞恥。 –
這一切與新技術的試驗和錯誤:-) 我個人更喜歡在邏輯ADLa數據庫中創建我的USQL作爲存儲過程。然後調用ADF的procs。 –
尊敬的法比奧,我也會建議提出針對ADF的功能請求以支持來自ADLS帳戶的腳本:) –