Skip to content

Instantly share code, notes, and snippets.

@kshitijcode
Created November 30, 2021 04:31
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 kshitijcode/a6047c645a794f370e4d455ada1b7972 to your computer and use it in GitHub Desktop.
Save kshitijcode/a6047c645a794f370e4d455ada1b7972 to your computer and use it in GitHub Desktop.
table_raw = "integrationtest_users"
table_processed = "processed_integrationtest_user"
# Trigger the Master Pipeline for Processed to processed Zone
masterpipeline_processed_params = {
"lookUpTables": [{
"SourceTableSchemaName": "dbo",
"SourceTableName": table_raw,
"SinkTableSchemaName": "dbo",
"SinkTableName": table_processed,
"HasIncrementalData": "false"
}],
"sourceDatabase": database,
}
pipeline_name = constants.COPY_TO_DEDICATE_SQL_PIPELINE
print(f"{pipeline_name} Parameters : {masterpipeline_processed_params}\n")
pipeline_run_result = pipelineutils.run_and_observe_pipeline(
azure_credential, synapse_endpoint, pipeline_name, masterpipeline_processed_params)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment