Updating pipeline: 04 - Upload - From Metadata

Adding dataset: LaptopFilesBinary
Updating dataset: LakeFilesBinary
This commit is contained in:
Paul Andrew 2022-02-26 10:18:40 +00:00
parent a14d4e5fcd
commit ce14b714ef
3 changed files with 67 additions and 2 deletions

View File

@ -2,9 +2,17 @@
"name": "LakeFilesBinary",
"properties": {
"linkedServiceName": {
"referenceName": "traininglak01",
"referenceName": "traininglake01",
"type": "LinkedServiceReference"
},
"parameters": {
"Directory": {
"type": "string"
},
"File": {
"type": "string"
}
},
"folder": {
"name": "Lake"
},
@ -12,7 +20,16 @@
"type": "Binary",
"typeProperties": {
"location": {
"type": "AzureBlobFSLocation"
"type": "AzureBlobFSLocation",
"fileName": {
"value": "@dataset().File",
"type": "Expression"
},
"folderPath": {
"value": "@dataset().Directory",
"type": "Expression"
},
"fileSystem": "datawarehouse"
}
}
}

View File

@ -0,0 +1,35 @@
{
"name": "LaptopFilesBinary",
"properties": {
"linkedServiceName": {
"referenceName": "LaptopFiles",
"type": "LinkedServiceReference"
},
"parameters": {
"Directory": {
"type": "string"
},
"File": {
"type": "string"
}
},
"folder": {
"name": "Laptop"
},
"annotations": [],
"type": "Binary",
"typeProperties": {
"location": {
"type": "FileServerLocation",
"fileName": {
"value": "@dataset().File",
"type": "Expression"
},
"folderPath": {
"value": "@dataset().Directory",
"type": "Expression"
}
}
}
}
}

View File

@ -162,6 +162,19 @@
}
}
]
},
{
"name": "Switch1",
"type": "Switch",
"dependsOn": [],
"userProperties": [],
"typeProperties": {
"on": {
"value": "@substring(item().FileName,add(indexof(item().FileName,'.'),1),sub(length(item().FileName),add(indexof(item().FileName,'.'),1)))",
"type": "Expression"
},
"cases": []
}
}
]
}