Complete the code to set the materialization to table in a dbt model.
config(materialized = '[1]')
Setting materialized = 'table' tells dbt to create a physical table in the warehouse.
Complete the code to enable clustering on the column 'customer_id' in a Snowflake table.
config(clustering = ['[1]'])
Clustering on customer_id helps Snowflake organize data for faster queries on that column.
Fix the error in the incremental model config to correctly specify the unique key.
config(materialized='incremental', unique_key='[1]')
The unique_key should be the column that uniquely identifies rows, often 'id'.
Fill both blanks to create a Snowflake model with clustering on 'region' and materialized as a table.
config(materialized='[1]', clustering=['[2]'])
This config creates a physical table clustered by the 'region' column for better query performance.
Fill all three blanks to define an incremental model with unique key 'order_id', materialized as incremental, and clustered by 'order_date'.
config(materialized='[1]', unique_key='[2]', clustering=['[3]'])
This config sets the model as incremental, uses 'order_id' as the unique key, and clusters data by 'order_date' for performance.