【发布时间】:2022-08-03 14:46:19
【问题描述】:
我创建了一个 Azure 数据工厂管道,其中包含一个简单的存储过程活动,该活动应该从 Azure SQL DB 中的存储过程中获取数据。存储过程接受一个输入参数。我已经发布了这些更改。
当我单击Validate 时,我收到以下错误,我几乎没有得到任何信息:
{
\"code\": \"BadRequest\",
\"message\": null,
\"target\": \"pipeline//runid/dcb92f70-0a4b-4be1-943b-5ggn68365tyc\",
\"details\": null,
\"error\": null
}
当我点击Trigger now 时,它只是说“运行管道失败”,没有更多细节。
我的管道 JSON 如下所示:
{
\"name\": \"GetPopulationRecordsForAnalysis\",
\"properties\": {
\"description\": \"Gets Population Records\",
\"activities\": [
{
\"name\": \"GetPopulationRecords\",
\"type\": \"SqlServerStoredProcedure\",
\"dependsOn\": [],
\"policy\": {
\"timeout\": \"7.00:00:00\",
\"retry\": 0,
\"retryIntervalInSeconds\": 30,
\"secureOutput\": false,
\"secureInput\": false
},
\"userProperties\": [],
\"typeProperties\": {
\"storedProcedureName\": \"[dbo].[usp_GetPopulationRecords]\",
\"storedProcedureParameters\": {
\"@countryID\": {
\"value\": \"48\",
\"type\": \"Int64\"
}
}
},
\"linkedServiceName\": {
\"referenceName\": \"AzureSqlLinkedService\",
\"type\": \"LinkedServiceReference\"
}
}
],
\"annotations\": [],
\"lastPublishTime\": \"2022-08-02T13:37:27Z\"
},
\"type\": \"Microsoft.DataFactory/factories/pipelines\"
}
我在这里做错了什么?
标签: azure azure-data-factory azure-data-factory-2