You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dbt run on a project that has dbt-utils installed will trigger a Deprecation Warning.
Steps to reproduce
Set up a simple dbt project with dbt-utils installed.
Expected results
dbt run gives no warnings.
Actual results
dbt run produces a Deprecation Warning.
Screenshots and log output
(env) emily@Emily-Rockman jaffle-shop % dbt run
Running with dbt=0.21.0-b1
* Deprecation Warning: The "packages" argument of adapter.dispatch() has been
deprecated. Use the "macro_namespace" argument instead.
Raised during dispatch for: test_not_null_proportion
For more information, see:
https://docs.getdbt.com/reference/dbt-jinja-functions/dispatch
Found 2 models, 4 tests, 0 snapshots, 0 analyses, 353 macros, 0 operations, 0 seed files, 0 sources, 0 exposures
13:22:41 | Concurrency: 4 threads (target='dev')
13:22:41 |
13:22:41 | 1 of 2 START table model dbt_testing.my_first_dbt_model.............. [RUN]
13:22:41 | 1 of 2 OK created table model dbt_testing.my_first_dbt_model......... [SELECT 2 in 0.09s]
13:22:41 | 2 of 2 START view model dbt_testing.my_second_dbt_model.............. [RUN]
13:22:42 | 2 of 2 OK created view model dbt_testing.my_second_dbt_model......... [CREATE VIEW in 0.06s]
13:22:42 |
13:22:42 | Finished running 1 table model, 1 view model in 0.29s.
Completed successfully
Done. PASS=2 WARN=0 ERROR=0 SKIP=0 TOTAL=2
This is related to the recent changes in Cherry Pick: not null proportion schema test #411. macro_namespace should be used instead of packages in macros/schema_tests/not_null_proportion.sql. See docs for more info.
Are you interested in contributing the fix?
The text was updated successfully, but these errors were encountered:
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.
Describe the bug
dbt run
on a project that hasdbt-utils
installed will trigger a Deprecation Warning.Steps to reproduce
Set up a simple dbt project with dbt-utils installed.
Expected results
dbt run
gives no warnings.Actual results
dbt run
produces a Deprecation Warning.Screenshots and log output
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:Additional context
This is related to the recent changes in Cherry Pick: not null proportion schema test #411.
macro_namespace
should be used instead ofpackages
inmacros/schema_tests/not_null_proportion.sql
. See docs for more info.Are you interested in contributing the fix?
The text was updated successfully, but these errors were encountered: