dbt-labs / dbt-labs-experimental-features

dbt support for database features which are not yet supported natively in dbt-core
Apache License 2.0
145 stars 43 forks source link

Remove packages arg, replace with macro_namespace #16

Closed makermary closed 2 years ago

JGrubb commented 2 years ago

Hi team, this fixes the materialized view pkg for DBT 1.0 which breaks with the following:

22:07:36  Compilation Error in ...
22:07:36        The "packages" argument of adapter.dispatch() has been deprecated.
22:07:36        Use the "macro_namespace" argument instead.
22:07:36    
22:07:36        Raised during dispatch for: create_materialized_view_as
22:07:36    
22:07:36        For more information, see:
22:07:36    
22:07:36        https://docs.getdbt.com/reference/dbt-jinja-functions/dispatch
22:07:36        
22:07:36    
22:07:36    > in macro create_materialized_view_as (macros/default/adapters.sql)
22:07:36    > called by macro materialization_materialized_view_bigquery (macros/bigquery/materialized_view.sql)