@@ -77,19 +77,26 @@ Some packages we recommend you check out: [dbt_utils](https://github.com/dbt-lab
7777 </Accordion >
7878 <Accordion title = " Important: Allowing Elementary to override dbt's default test materializations (relevant from dbt 1.8)" >
7979
80- In order for these features to work, it is required to add an sql file inside the ` macros ` folder of your dbt project with the following content:
80+ In order for these features to work, add the following file: elementary_materialization.sql to your macros folder so it will look like this:
81+ ` macros/elementary_materialization.sql `
82+
83+ In the file copy and paste the following code:
84+
85+ If you use Snowflake:
86+ ```
87+ { % materialization test , adapter = ' snowflake' % }
88+ { { return(elementary.materialization_test_snowflake()) }}
89+ { % endmaterialization % }
90+ ```
8191
82- ```-- Use this snippet if you use any DWH other than Snowflake
83- { % materialization test , default % }
84- { { return(elementary.materialization_test_default()) }}
85- { % endmaterialization % }
86-
87- -- Use this snippet if you use Snowflake
88- { % materialization test , adapter = ' snowflake' % }
89- { { return(elementary.materialization_test_snowflake()) }}
90- { % endmaterialization % }
92+ If you use any other DWH:
93+ ```
94+ { % materialization test , default % }
95+ { { return(elementary.materialization_test_default()) }}
96+ { % endmaterialization % }
9197 ```
9298
99+
93100 </Accordion >
94101
95102 ``` yml dbt_project.yml
0 commit comments