dbt materialized config

PHOTO EMBED

Sat May 06 2023 07:13:28 GMT+0000 (Coordinated Universal Time)

Saved by @klleee28 #dbt #config #materialize

-- for table
{{
  config(
  	materialized="table" 
  )
}}

-- for view
{{
  config(
  	materialized="view" 
  )
}}

-- for ephemeral
{{
  config(
  	materialized="ephemeral"
  )
}}

-- for incremental
{{
  config(
  	materialized="incremental"
  )
}}
content_copyCOPY

To be placed at the top of the sql file to choose how models are materialized.

https://docs.getdbt.com/docs/build/materializations