Hello everyone!
I’m running an incremental model (dbt-core) using Cosmos and Airflow. The distribution key is specified in the model’s config. The table is created without the specified key.
However, when I run the model manually via the terminal, the table is created with the distribution key.
What should be specified in the Cosmos parameters to add distributed key?
{{
config(
materialized=‘incremental’,
unique_key=‘id’,
distributed_by=‘id’,
orientation=‘row’,
appendoptimized=false,
incremental_strategy=‘delete+insert’,
) }}