Skip to content

Commit

Permalink
Fix #213
Browse files Browse the repository at this point in the history
put back original relation_name
  • Loading branch information
Freia Vercruysse committed Jun 7, 2022
1 parent 3d202ea commit 74498f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 cci_name = (relation.schema ~ '_' ~ relation.identifier ~ '_cci') | replace(".", "") | replace(" ", "") -%}
{%- set relation_name = relation.schema ~ '_' ~ relation.identifier -%}
{%- set full_relation = relation.schema ~ '.' ~ relation.identifier -%}
{%- set full_relation = '"' ~ relation.schema ~ '"."' ~ relation.identifier ~ '"' -%}
use [{{ relation.database }}];
if EXISTS (
SELECT * FROM
Expand Down

0 comments on commit 74498f1

Please sign in to comment.