2022-10-22 14:50:26 +01:00

126 lines
2.5 KiB
JSON

{
"name": "CopyAndMapAWEntity",
"properties": {
"activities": [
{
"name": "Copy data1",
"type": "Copy",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"source": {
"type": "DelimitedTextSource",
"storeSettings": {
"type": "HttpReadSettings",
"requestMethod": "GET"
},
"formatSettings": {
"type": "DelimitedTextReadSettings"
}
},
"sink": {
"type": "ParquetSink",
"storeSettings": {
"type": "AzureBlobFSWriteSettings"
},
"formatSettings": {
"type": "ParquetWriteSettings"
}
},
"enableStaging": false,
"translator": {
"type": "TabularTranslator",
"mappings": [
{
"source": {
"type": "Int32",
"ordinal": 1
},
"sink": {
"name": "ProductCategoryID",
"physicalType": "UTF8"
}
},
{
"source": {
"type": "DateTime",
"ordinal": 2
},
"sink": {
"name": "Name",
"physicalType": "UTF8"
}
},
{
"source": {
"type": "Guid",
"ordinal": 3
},
"sink": {
"name": "rowguid",
"physicalType": "UTF8"
}
},
{
"source": {
"type": "String",
"ordinal": 4
},
"sink": {
"name": "ModifiedDate",
"physicalType": "UTF8"
}
}
],
"typeConversion": true,
"typeConversionSettings": {
"allowDataTruncation": true,
"treatBooleanAsNumber": false
}
}
},
"inputs": [
{
"referenceName": "HTTP_TSV_AdventureWorks",
"type": "DatasetReference",
"parameters": {
"EntityName": {
"value": "@pipeline().parameters.EntityName",
"type": "Expression"
}
}
}
],
"outputs": [
{
"referenceName": "ADLS_PQT_AdventureWorks",
"type": "DatasetReference",
"parameters": {
"EntityName": {
"value": "@pipeline().parameters.EntityName",
"type": "Expression"
}
}
}
]
}
],
"parameters": {
"EntityName": {
"type": "string",
"defaultValue": "ProductCategory"
}
},
"folder": {
"name": "Labs2"
},
"annotations": []
}
}