Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

# 0.0.38
* Added number of batches parameter to `dcsazure_AzureSQL_to_AzureSQL_mask_pl` in unconditional masking.

# 0.0.37
* Added number of batches parameter to `dcsazure_AzureSQL_MI_to_AzureSQL_MI_mask_pl` in unconditional masking.
* Increased TimeOut for the masking API call in `dcsazure_AzureSQL_MI_to_AzureSQL_MI_mask_pl` to 300 seconds.
Expand Down
2 changes: 1 addition & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.37
0.0.38
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@
"DF_COLUMNS_TO_CAST_BACK_TO_TIMESTAMP": {
"value": "@activity('Lookup Masking Parameters').output.firstRow.ColumnsToCastBackToTimestamp",
"type": "Expression"
},
"DF_NUMBER_OF_BATCHES": {
"value": "@activity('Lookup Masking Parameters').output.firstRow.NumberOfBatches",
"type": "Expression"
}
},
"datasetParameters": {
Expand Down Expand Up @@ -2666,7 +2670,7 @@
"name": "dcsazure_AzureSQL_to_AzureSQL"
},
"annotations": [],
"lastPublishTime": "2025-09-11T07:04:14Z"
"lastPublishTime": "2025-10-08T11:34:30Z"
},
"dependsOn": [
"[concat(variables('factoryId'), '/datasets/dcsazure_AzureSQL_to_AzureSQL_mask_metadata_ds')]",
Expand Down Expand Up @@ -3394,7 +3398,7 @@
"name": "dcsazure_AzureSQL_to_AzureSQL"
},
"annotations": [],
"lastPublishTime": "2025-09-11T06:59:43Z"
"lastPublishTime": "2025-10-08T06:38:20Z"
},
"dependsOn": [
"[concat(variables('factoryId'), '/datasets/dcsazure_AzureSQL_to_AzureSQL_mask_sink_ds')]",
Expand Down Expand Up @@ -3824,7 +3828,7 @@
"name": "dcsazure_AzureSQL_to_AzureSQL"
},
"annotations": [],
"lastPublishTime": "2025-09-11T07:05:00Z"
"lastPublishTime": "2025-10-08T06:38:20Z"
},
"dependsOn": [
"[concat(variables('factoryId'), '/datasets/dcsazure_AzureSQL_to_AzureSQL_mask_sink_ds')]",
Expand Down Expand Up @@ -3989,7 +3993,8 @@
" DF_COLUMNS_TO_CAST_BACK_TO_FLOAT as string[] ([\"\"]),",
" DF_COLUMNS_TO_CAST_BACK_TO_INTEGER as string[] ([\"\"]),",
" DF_COLUMNS_TO_CAST_BACK_TO_LONG as string[] ([\"\"]),",
" DF_COLUMNS_TO_CAST_BACK_TO_TIMESTAMP as string[] ([\"\"])",
" DF_COLUMNS_TO_CAST_BACK_TO_TIMESTAMP as string[] ([\"\"]),",
" DF_NUMBER_OF_BATCHES as integer (100)",
"}",
"source(allowSchemaDrift: true,",
" validateSchema: false,",
Expand Down Expand Up @@ -4035,7 +4040,7 @@
" ),",
" skipDuplicateMapInputs: true,",
" skipDuplicateMapOutputs: true) ~> SelectColumnsUnmasked",
"WrapValuesInArray aggregate(groupBy(DELPHIX_COMPLIANCE_SERVICE_BATCH_GROUP = toInteger(ceil(DELPHIX_COMPLIANCE_SERVICE_BATCH_ID/$DF_NUMBER_OF_ROWS_PER_BATCH))),",
"WrapValuesInArray aggregate(groupBy(DELPHIX_COMPLIANCE_SERVICE_BATCH_GROUP = DELPHIX_COMPLIANCE_SERVICE_BATCH_ID%$DF_NUMBER_OF_BATCHES),",
" each(match((startsWith(name,'x')&&not(contains($DF_COLUMNS_TO_MASK,#item==name)))||(name==\"DELPHIX_COMPLIANCE_SERVICE_BATCH_ID\")), $$ = collect($$))) ~> AggregateColumnsByBatch",
"AggregateColumnsByBatch derive(each(match(startsWith(name,'x')||(name==\"DELPHIX_COMPLIANCE_SERVICE_BATCH_ID\")), $$ = flatten($$))) ~> FlattenValuesOutOfArray",
"DCSForAzureAPI assert(expectTrue(toInteger(regexExtract(status, '(\\\\d+)', 1)) == 200, false, 'Failed_request', null, iif(isNull(body.message), status, concatWS(', ', 'timestamp: ' + toString(body.timestamp), 'status: ' + body.status, 'message: ' + body.message, 'trace_id: ' + body.trace_id))),",
Expand Down
2 changes: 1 addition & 1 deletion dcsazure_AzureSQL_to_AzureSQL_mask_pl/manifest.json

Large diffs are not rendered by default.