Skip to content

Commit

Permalink
Allow unique_id to take a list
Browse files Browse the repository at this point in the history
  • Loading branch information
xtyuns committed Oct 15, 2024
1 parent 557c838 commit 5496f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/include/starrocks/macros/adapters/relation_helpers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

{%- if materialized == 'incremental' and unique_key is not none -%}
{%- set table_type = 'PRIMARY' -%}
{%- set keys = [unique_key] -%}
{%- set keys = unique_key if unique_key is sequence and unique_key is not mapping and unique_key is not string else [unique_key] -%}
{%- endif -%}

{%- if properties is none -%}
Expand Down

0 comments on commit 5496f5e

Please sign in to comment.