I'm trying to copy a sample data from one SQL server DB to another. For some reason the pipeline keeps waiting for source data. When I'm looking at the source dataset, there were no slices created.
The following are my JSONS:
Destination table:
{
"name": "DestTable1",
"properties": {
"structure": [
{
"name": "C1",
"type": "Int16"
},
{
"name": "C2",
"type": "Int16"
},
{
"name": "C3",
"type": "String"
},
{
"name": "C4",
"type": "String"
}
],
"published": false,
"type": "SqlServerTable",
"linkedServiceName": "SqlServer2",
"typeProperties": {
"tableName": "OferTarget1"
},
"availability": {
"frequency": "Hour",
"interval": 1
}
}
}
Source Table:
{
"name": "SourceTable1",
"properties": {
"structure": [
{
"name": "C1",
"type": "Int16"
},
{
"name": "C2",
"type": "Int16"
},
{
"name": "C3",
"type": "String"
},
{
"name": "C4",
"type": "String"
}
],
"published": false,
"type": "SqlServerTable",
"linkedServiceName": "SqlServer",
"typeProperties": {
"tableName": "OferSource1"
},
"availability": {
"frequency": "Hour",
"interval": 1
},
"external": true,
"policy": { }
}
}
Pipeline:
{
"name": "CopyTablePipeline",
"properties": {
"description": "Copy data from source table to target table",
"activities": [
{
"type": "Copy",
"typeProperties": {
"source": {
"type": "SqlSource",
"sqlReaderQuery": "select c1,c2,c3,c4 from OferSource1"
},
"sink": {
"type": "SqlSink",
"writeBatchSize": 1000,
"writeBatchTimeout": "60.00:00:00"
}
},
"inputs": [
{
"name": "SourceTable1"
}
],
"outputs": [
{
"name": "DestTable1"
}
],
"policy": {
"timeout": "01:00:00",
"concurrency": 1
},
"scheduler": {
"frequency": "Hour",
"interval": 1
},
"name": "CopySqlToSql",
"description": "Demo Copy"
}
],
"start": "2017-10-22T09:55:00Z",
"end": "2017-10-22T13:55:00Z",
"isPaused": true,
"hubName": "wer-dev-datafactoryv1_hub",
"pipelineMode": "Scheduled"
}
}
I can see the process in the monitor view, but the pipeline is stuck and waiting for the source data to arrive.
What am I doing wrong?
"isPaused": true
- are you sure your pipeline is not paused actually? – arghtype