Montreal-Analytics / dbt-snowflake-utils

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

"dbt docs generate" is caught as an incremental run condition #1

Closed MartinGuindon closed 4 years ago

MartinGuindon commented 4 years ago

When doing a dbt docs generate on the project, if there are models using the macro and an alternative warehouse is defined for incremental runs, this warehouse will be used when building the docs site, eg:

>>> dbt docs generate                                                                                                                                                                 
Running with dbt=0.16.1
Found 19 models, 57 tests, 0 snapshots, 0 analyses, 264 macros, 2 operations, 1 seed file, 5 sources

18:44:22 | Concurrency: 16 threads (target='dev')
18:44:22 | 
18:44:32 + Incremental Run - Using alternative warehouse TRANSFORMING_M_WH
18:44:32 + Incremental Run - Using alternative warehouse TRANSFORMING_M_WH
18:44:32 + Incremental Run - Using alternative warehouse TRANSFORMING_M_WH
18:44:32 + Incremental Run - Using alternative warehouse TRANSFORMING_M_WH
18:44:32 + Incremental Run - Using alternative warehouse TRANSFORMING_M_WH