Skip to content

Commit faa2cb0

Browse files
committed
Addressed #197
1 parent 7b67d8c commit faa2cb0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Handling temp tables in incremental models #188
66
* Add label support to filter queries #181
77
* Addressed bug - incremental models cannot full refresh #179
8+
* Addressed bug - #197, dbt test incorrect syntax with macro helpers.sql
89

910
### v1.8.0rc2
1011

dbt/include/fabric/macros/materializations/tests/helpers.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
{% if main_sql.strip().lower().startswith('with') %}
1111
{% set testview %}
12-
{{ target.schema }}.testview_{{ range(1300, 19000) | random }}
12+
[{{ target.schema }}.testview_{{ range(1300, 19000) | random }}]
1313
{% endset %}
1414

1515
{% set sql = main_sql.replace("'", "''")%}

0 commit comments

Comments
 (0)