-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding dataflow: 1_ CALL_CENTER Adding database: Sales
- Loading branch information
1 parent
c524676
commit 5117061
Showing
3 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "Sales", | ||
"properties": { | ||
"Name": "Sales", | ||
"EntityType": "DATABASE", | ||
"Origin": { | ||
"Type": "SPARK" | ||
}, | ||
"Properties": { | ||
"IsSyMSCDMDatabase": true | ||
}, | ||
"Source": { | ||
"Provider": "ADLS", | ||
"Location": "abfss://lakeshouse@mjlakeshousestroage.dfs.core.windows.net/Sales", | ||
"Properties": { | ||
"FormatType": "parquet", | ||
"LinkedServiceName": "mj-synpase-lakehouse-WorkspaceDefaultStorage" | ||
} | ||
} | ||
}, | ||
"type": "DATABASE" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"name": "1_ CALL_CENTER", | ||
"properties": { | ||
"type": "MappingDataFlow", | ||
"typeProperties": { | ||
"sources": [ | ||
{ | ||
"dataset": { | ||
"referenceName": "SnowflakeDataSetCallCenter", | ||
"type": "DatasetReference" | ||
}, | ||
"name": "snowflakecallcenter", | ||
"description": "\nCALL_CENTER table from snowflake" | ||
} | ||
], | ||
"sinks": [ | ||
{ | ||
"linkedService": { | ||
"referenceName": "mj-synpase-lakehouse-WorkspaceDefaultStorage", | ||
"type": "LinkedServiceReference" | ||
}, | ||
"name": "callcentertable" | ||
} | ||
], | ||
"transformations": [], | ||
"scriptLines": [ | ||
"source(allowSchemaDrift: true,", | ||
" validateSchema: false,", | ||
" limit: 100,", | ||
" query: 'select * from SNOWFLAKE_SAMPLE_DATA.TPCDS_SF100TCL.CALL_CENTER',", | ||
" format: 'query') ~> snowflakecallcenter", | ||
"snowflakecallcenter sink(allowSchemaDrift: true,", | ||
" validateSchema: false,", | ||
" format: 'delta',", | ||
" fileSystem: 'lakeshouse',", | ||
" folderPath: 'synapse/workspaces/mj-synpase-lakehouse/Bronze/CallCenter',", | ||
" mergeSchema: false,", | ||
" autoCompact: false,", | ||
" optimizedWrite: false,", | ||
" vacuum: 0,", | ||
" deletable:false,", | ||
" insertable:true,", | ||
" updateable:false,", | ||
" upsertable:false,", | ||
" umask: 0022,", | ||
" preCommands: [],", | ||
" postCommands: [],", | ||
" skipDuplicateMapInputs: true,", | ||
" skipDuplicateMapOutputs: true) ~> callcentertable" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "snowflake_datacopy", | ||
"properties": { | ||
"activities": [ | ||
{ | ||
"name": "copy_ CALL_CENTER", | ||
"type": "ExecuteDataFlow", | ||
"dependsOn": [], | ||
"policy": { | ||
"timeout": "0.12:00:00", | ||
"retry": 0, | ||
"retryIntervalInSeconds": 30, | ||
"secureOutput": false, | ||
"secureInput": false | ||
}, | ||
"userProperties": [], | ||
"typeProperties": { | ||
"dataflow": { | ||
"referenceName": "1_ CALL_CENTER", | ||
"type": "DataFlowReference" | ||
}, | ||
"integrationRuntime": { | ||
"referenceName": "AutoResolveIntegrationRuntime", | ||
"type": "IntegrationRuntimeReference" | ||
}, | ||
"traceLevel": "Fine" | ||
} | ||
} | ||
], | ||
"annotations": [] | ||
} | ||
} |