Skip to content

Commit

Permalink
No need to provide host and port, as we run it with the configured ad…
Browse files Browse the repository at this point in the history
…apter credentials (which is the same as provided)
  • Loading branch information
BentsiLeviav committed May 8, 2024
1 parent d1236f2 commit 61f814d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dbt/include/clickhouse/macros/materializations/dictionary.sql
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,6 @@
{% if credentials.get("database") != '' -%}
db '{{ credentials.get("database") }}'
{%- endif %}
{% if credentials.get("host") != '' and credentials.get("host") != 'localhost' -%}
host '{{ credentials.get("host") }}'
{% if credentials.get("port") != '' -%}
port '{{ credentials.get("port") }}'
{%- endif %}
{%- endif %}
{%- if table is not none %}
table '{{ table }}'
{% else %}
Expand Down

0 comments on commit 61f814d

Please sign in to comment.