diff --git a/dbt/snowflake/dbt_project.yml b/dbt/snowflake/dbt_project.yml index 6a2476d..55017a4 100644 --- a/dbt/snowflake/dbt_project.yml +++ b/dbt/snowflake/dbt_project.yml @@ -12,7 +12,9 @@ clean-targets: - "dbt_packages" models: - +materialized: view my_dbt_project: + +materialized: table + dbt_artifacts: + +schema: dbt_artifacts staging: - schema: stg + +schema: dbt_artifacts_staging diff --git a/dbt/snowflake/models/baz.sql b/dbt/snowflake/models/baz.sql deleted file mode 100644 index 6dfda62..0000000 --- a/dbt/snowflake/models/baz.sql +++ /dev/null @@ -1,2 +0,0 @@ - -select 'baz' as user_id diff --git a/dbt/snowflake/models/fct_revenue.sql b/dbt/snowflake/models/fct_revenue.sql new file mode 100644 index 0000000..231a988 --- /dev/null +++ b/dbt/snowflake/models/fct_revenue.sql @@ -0,0 +1 @@ +select 100 as revenue diff --git a/dbt/snowflake/models/publish/my_union_model.sql b/dbt/snowflake/models/publish/my_union_model.sql deleted file mode 100644 index 8bc479b..0000000 --- a/dbt/snowflake/models/publish/my_union_model.sql +++ /dev/null @@ -1,10 +0,0 @@ -with all_models as ( - {{ - dbt_utils.union_relations( - relations = [ref('foo'), ref('bar')], - exclude = ['_loaded_at'] - ) - }} -) - -select * from all_models diff --git a/dbt/snowflake/models/staging/bar.sql b/dbt/snowflake/models/staging/bar.sql deleted file mode 100644 index d991d66..0000000 --- a/dbt/snowflake/models/staging/bar.sql +++ /dev/null @@ -1,2 +0,0 @@ - -select 'bar' as user_id diff --git a/dbt/snowflake/models/staging/foo.sql b/dbt/snowflake/models/staging/foo.sql deleted file mode 100644 index 3e56f64..0000000 --- a/dbt/snowflake/models/staging/foo.sql +++ /dev/null @@ -1,2 +0,0 @@ - -select 'foo' as user_id \ No newline at end of file diff --git a/dbt/snowflake/packages.yml b/dbt/snowflake/packages.yml index 89c68a0..36f1358 100644 --- a/dbt/snowflake/packages.yml +++ b/dbt/snowflake/packages.yml @@ -1,3 +1,3 @@ packages: - - package: dbt-labs/dbt_utils - version: 0.8.4 + - package: brooklyn-data/dbt_artifacts + version: 0.8.0