[fix](dbt)fix dbt run abnormal #12242
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
{% materialization incremental, adapter='doris' %}
|
||||
{% set unique_key = config.get('unique_key', validator=validation.any[list]) %}
|
||||
{% if unique_key is not %}
|
||||
{% if unique_key is not none %}
|
||||
{% do exceptions.raise_compiler_error("dbt-doris incremental 'unique_key' cannot be empty" ) %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user