Howdy, fellow Data Engineers, I have a scenario wh...
# best-practices
m
Howdy, fellow Data Engineers, I have a scenario where I would like to parametrize my pipeline to run for different customers. I managed to use plugin inheritance and suffix the name of the plugin with the customer code, however, dbt has this fancy command line variables (--vars) Is there an equivalent of that in meltano?
Copy code
########################
# Usage for ABC and XYZ:
#
# ABC
# 
# extract and load:
# meltano run tap-mysql_ABC target-snowflake_ABC
#
# transformation:
# meltano invoke dbt-snowflake run --vars '{"RAW_SCHEMA": "ABC_SAFETYNET_DWH"}' --select data_share
#
# XYZ
# 
# extract and load:
# meltano run tap-mysql_XYZ target-snowflake_XYZ
#
# transformation:
# meltano invoke dbt-snowflake run --vars '{"RAW_SCHEMA": "XYZ_SAFETYNET_DWH"}' --select data_share