2022-08-16 08:42:57 +01:00

89 lines
1.9 KiB
JSON

{
"name": "CopyAnyTable",
"properties": {
"activities": [
{
"name": "Copy table",
"type": "Copy",
"dependsOn": [],
"policy": {
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"source": {
"type": "AzureSqlSource",
"queryTimeout": "02:00:00",
"partitionOption": "None"
},
"sink": {
"type": "DelimitedTextSink",
"storeSettings": {
"type": "AzureBlobFSWriteSettings"
},
"formatSettings": {
"type": "DelimitedTextWriteSettings",
"quoteAllText": true,
"fileExtension": ".txt"
}
},
"enableStaging": false,
"translator": {
"type": "TabularTranslator",
"typeConversion": true,
"typeConversionSettings": {
"allowDataTruncation": true,
"treatBooleanAsNumber": false
}
}
},
"inputs": [
{
"referenceName": "ASQL_AdventureWorks_Generic",
"type": "DatasetReference",
"parameters": {
"TableSchema": {
"value": "@pipeline().parameters.TableSchema",
"type": "Expression"
},
"TableName": {
"value": "@pipeline().parameters.TableName",
"type": "Expression"
}
}
}
],
"outputs": [
{
"referenceName": "ADLS_Raw_Generic",
"type": "DatasetReference",
"parameters": {
"File": {
"value": "@{pipeline().parameters.TableSchema}.@{pipeline().parameters.TableName}.txt",
"type": "Expression"
}
}
}
]
}
],
"parameters": {
"TableSchema": {
"type": "string"
},
"TableName": {
"type": "string"
}
},
"folder": {
"name": "Lab5"
},
"annotations": [],
"lastPublishTime": "2020-09-26T17:11:52Z"
},
"type": "Microsoft.DataFactory/factories/pipelines"
}