Montreal-Analytics / dbt-snowflake-utils

Snowflake-specific utility macros for dbt projects.
Apache License 2.0
105 stars 36 forks source link

Additional Parameter for Source & Target DB #8

Closed ckaiser-graniterock closed 2 years ago

ckaiser-graniterock commented 4 years ago

Would be great if you could add two parameters. One for Source_database and another for destination_database.

Example would be a clone of ABC_RAW.DBO to ABC_CLONE.DBO.

dbt run-operation clone_schema --args "{'source_database': 'abc_raw', 'source_schema': 'analytics', 'detination_database': 'abc_clone', 'destination_schema': 'analytics'}"

Thanks!

MartinGuindon commented 4 years ago

Thanks Cody, that's a great point. I'll try to get this done within the next few days.

MartinGuindon commented 4 years ago

Resolved in merged PR #10 by @jtalmi. I'll issue a new release soon.