我有从前端SQL Server复制到Azure SQL数据库的简单管道。
但是,没有移出任何数据,只需注意:No Activities in this pipeline
这条管道有什么问题?
{
"name": "OnPrem-to-Cloud",
"properties": {
"description": "Copy data from on prem to Azure SQL",
"activities": [
{
"type": "Copy",
"typeProperties": {
"source": {
"type": "SqlSource",
"sqlReaderQuery": "select * from table"
},
"sink": {
"type": "SqlSink",
"writeBatchSize": 0,
"writeBatchTimeout": "00:00:00"
}
},
"inputs": [
{
"name": "source-table"
}
],
"outputs": [
{
"name": "destination-table"
}
],
"policy": {
"timeout": "01:00:00",
"concurrency": 1
},
"scheduler": {
"frequency": "Day",
"interval": 1
},
"name": "CopyFromSQlServerToAzureSQL",
"description": "copy activity"
}
],
"start": "2017-08-29T21:55:29.438863Z",
"end": "2017-08-29T21:55:29.438863Z",
"isPaused": false,
"hubName": "data-factory-prod_hub",
"pipelineMode": "OneTime",
"expirationTime": "3.00:00:00"
}
}
答案 0 :(得分:3)
我认为该错误具有误导性。并不是说管道中没有任何活动。由于您的开始和结束日期时间相同,因此ADF在部署时无需进行配置。
这意味着ADF无法创建任何时候切片和时间片是实际执行的东西。
正如上面的评论中已经建议的那样,您需要延长结束日期,还要将pipelineMode更改为已安排。
希望这有帮助。