Skip to content

Commit

Permalink
Fix #213
Browse files Browse the repository at this point in the history
  • Loading branch information
Freia Vercruysse committed Apr 13, 2022
1 parent 3d202ea commit 24a1a17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dbt/include/sqlserver/macros/adapters/indexes.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% macro sqlserver__create_clustered_columnstore_index(relation) -%}
{%- set cci_name = relation.schema ~ '_' ~ relation.identifier ~ '_cci' -%}
{%- set relation_name = relation.schema ~ '_' ~ relation.identifier -%}
{%- set full_relation = relation.schema ~ '.' ~ relation.identifier -%}
{%- set cci_name = (relation.schema ~ '_' ~ relation.identifier ~ '_cci') | replace(".", "") | replace(" ", "") -%}
{%- set relation_name = '"' ~ relation.schema ~ '"."' ~ relation.identifier ~ '"' -%}
{%- set full_relation = '"' ~ relation.schema ~ '"."' ~ relation.identifier ~ '"' -%}
use [{{ relation.database }}];
if EXISTS (
SELECT * FROM
Expand Down

0 comments on commit 24a1a17

Please sign in to comment.