Skip to content

Commit

Permalink
Merge pull request #50 from Shlomixg/master
Browse files Browse the repository at this point in the history
fix merge tree engine condition
  • Loading branch information
guykoh authored Jun 2, 2022
2 parents a23bb95 + 3f6be94 commit 1464ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/include/clickhouse/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
'Hive'
] -%}

{%- if engine is none or engine.endswith(('MergeTree', 'MergeTree()')) or engine in supported %}
{%- if engine is none or 'MergeTree' in engine or engine in supported %}
{%- if cols is not none %}
{%- if cols is string -%}
{%- set cols = [cols] -%}
Expand Down

0 comments on commit 1464ee4

Please sign in to comment.