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