Skip to content

Commit 47e9cf8

Browse files
committed
Updating dataflow: OttRawToCurated
1 parent a282468 commit 47e9cf8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

code/datafactory/dataflow/OttRawToCurated.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
{
4040
"name": "FilterEmptyHappinessScore",
4141
"description": "Filter Empty Happiness Score Rows"
42+
},
43+
{
44+
"name": "HarmonizeColumn",
45+
"description": "Harmonize columns: Connection, DeviceVendor"
4246
}
4347
],
4448
"scriptLines": [
@@ -98,7 +102,9 @@
98102
" skipDuplicateMapInputs: true,",
99103
" skipDuplicateMapOutputs: true) ~> RenameColumns",
100104
"RenameColumns filter(!isNull(HappinessScore)) ~> FilterEmptyHappinessScore",
101-
"FilterEmptyHappinessScore sink(allowSchemaDrift: true,",
105+
"FilterEmptyHappinessScore derive(Connection = lower(Connection),",
106+
" DeviceVendor = lower(DeviceVendor)) ~> HarmonizeColumn",
107+
"HarmonizeColumn sink(allowSchemaDrift: true,",
102108
" validateSchema: false,",
103109
" format: 'delta',",
104110
" fileSystem: ($sinkFileSystem),",

0 commit comments

Comments
 (0)