Skip to content

Commit

Permalink
Merge pull request openedx#84 from openedx/bmtcril/altinity_fixes
Browse files Browse the repository at this point in the history
Clustering / Altinity fixes
  • Loading branch information
bmtcril authored Jul 15, 2024
2 parents 00c8671 + 5fd1bf7 commit f8ba41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/cluster_macros.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Return an ON CLUSTER clause if we are running dbt against a cluster
{% macro on_cluster() -%}
{%- if env_var("CLICKHOUSE_CLUSTER_NAME", "") != "" -%}
ON CLUSTER {{ env_var("CLICKHOUSE_CLUSTER_NAME") }}
ON CLUSTER "{{ env_var("CLICKHOUSE_CLUSTER_NAME") }}"
{%- endif -%}
{%- endmacro %}

Expand Down

0 comments on commit f8ba41c

Please sign in to comment.