Skip to content

Instantly share code, notes, and snippets.

@kshitijcode
Created November 29, 2021 05:15
Show Gist options
  • Select an option

  • Save kshitijcode/cc5921c31ccad4bc8fe17b288042f313 to your computer and use it in GitHub Desktop.

Select an option

Save kshitijcode/cc5921c31ccad4bc8fe17b288042f313 to your computer and use it in GitHub Desktop.
table_raw = "integrationtest_employees"
table_gold = "gold_integrationtest_employee"
# Trigger the Master Pipeline for Processed to gold Zone
masterpipeline_gold_params = {
"lookUpTables": [{
"SourceTableSchemaName": "dbo",
"SourceTableName": table_raw,
"SinkTableSchemaName": "dbo",
"SinkTableName": table_gold,
"HasIncrementalData": "false"
}],
"sourceDatabase": database,
}
pipeline_name = constants.COPY_TO_DEDICATE_SQL_PIPELINE
print(f"{pipeline_name} Parameters : {masterpipeline_gold_params}\n")
pipeline_run_result = pipelineutils.run_and_observe_pipeline(
azure_credential, synapse_endpoint, pipeline_name, masterpipeline_gold_params)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment