Montreal-Analytics / dbt-snowflake-utils

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

Update dbt_project config-version to 2 to silence warnings with dbt 0.17.0+ #14

Closed sethwoodworth closed 4 years ago

sethwoodworth commented 4 years ago

After the release of dbt 0.17.0, the snowflake_utils module causes the following deprecation warning to be emitted by dbt:

* Deprecation Warning: dbt v0.17.0 introduces a new config format for the
dbt_project.yml file. Support for the existing version 1 format will be removed
in a future release of dbt. The following packages are currently configured with
config version 1:
 - snowflake_utils

For upgrading instructions, consult the documentation:
  https://docs.getdbt.com/docs/guides/migration-guide/upgrading-to-0-17-0

This silences that warning.

I also propose bumping the minor version number if you merge this PR to 0.2.0 from 0.1.3. I represented my intent by setting the dbt_project.yml::version to 0.2.0 although, that field is not yet used internally by dbt and you will need to tag post merge and whatever other mechanisms are needed for dbt-hub to have new versions published.

MartinGuindon commented 4 years ago

@sethwoodworth Seth, thank you for the contribution. :)