Skip to content

Commit

Permalink
Merge pull request #25 from PerfectThymeTech/adf_publish
Browse files Browse the repository at this point in the history
Update Template
  • Loading branch information
marvinbuss authored May 31, 2024
2 parents d84498c + 7204d7b commit a2d424e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion sc4-dev-df001/ARMTemplateForFactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -4193,6 +4193,10 @@
{
"name": "FilterEmptyHappinessScore",
"description": "Filter Empty Happiness Score Rows"
},
{
"name": "HarmonizeColumn",
"description": "Harmonize columns: Connection, DeviceVendor"
}
],
"scriptLines": [
Expand Down Expand Up @@ -4252,7 +4256,9 @@
" skipDuplicateMapInputs: true,",
" skipDuplicateMapOutputs: true) ~> RenameColumns",
"RenameColumns filter(!isNull(HappinessScore)) ~> FilterEmptyHappinessScore",
"FilterEmptyHappinessScore sink(allowSchemaDrift: true,",
"FilterEmptyHappinessScore derive(Connection = lower(Connection),",
" DeviceVendor = lower(DeviceVendor)) ~> HarmonizeColumn",
"HarmonizeColumn sink(allowSchemaDrift: true,",
" validateSchema: false,",
" format: 'delta',",
" fileSystem: ($sinkFileSystem),",
Expand Down
8 changes: 7 additions & 1 deletion sc4-dev-df001/linkedTemplates/ArmTemplate_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,10 @@
{
"name": "FilterEmptyHappinessScore",
"description": "Filter Empty Happiness Score Rows"
},
{
"name": "HarmonizeColumn",
"description": "Harmonize columns: Connection, DeviceVendor"
}
],
"scriptLines": [
Expand Down Expand Up @@ -1102,7 +1106,9 @@
" skipDuplicateMapInputs: true,",
" skipDuplicateMapOutputs: true) ~> RenameColumns",
"RenameColumns filter(!isNull(HappinessScore)) ~> FilterEmptyHappinessScore",
"FilterEmptyHappinessScore sink(allowSchemaDrift: true,",
"FilterEmptyHappinessScore derive(Connection = lower(Connection),",
" DeviceVendor = lower(DeviceVendor)) ~> HarmonizeColumn",
"HarmonizeColumn sink(allowSchemaDrift: true,",
" validateSchema: false,",
" format: 'delta',",
" fileSystem: ($sinkFileSystem),",
Expand Down

0 comments on commit a2d424e

Please sign in to comment.