Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbchudasama/31c1cd353104ad8b304b2588b3e96465 to your computer and use it in GitHub Desktop.
Save dbchudasama/31c1cd353104ad8b304b2588b3e96465 to your computer and use it in GitHub Desktop.
JSON Snippet of an example Azure ARM Template of defining pipeline parameters into a Copy Activity Pipeline for Azure Data Factory v2.0
“typeProperties”: {
“format”: {
“type”: “ParquetFormat”
},
“folderPath”: {
“value”:”@concat(‘/test/’, formatDateTime(adddays(pipeline().TriggerTime,0), ‘yyyy/MM/dd’)”,
“type”: “Expression”
},
“partitionedBy”: [
{
“name”: “Year”,
“value”: {
“type”: “DateTime”,
“date”: “SliceStart”,
“format”: “yyyy"
}
},
{
“name”: “Month”,
“value”: {
“type”: “DateTime”,
“date”: “SliceStart”,
“format”: “MM”
}
},
{
“name”: “Day”,
“value”: {
“type”: “DateTime”,
“date”: “SliceStart”,
“format”: “dd”
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment