Skip to content

Commit 8fd6fd4

Browse files
committed
PR feedback: revert sushi_dbt modifications, use tests/fixtures/dbt instead
1 parent 3a1e15f commit 8fd6fd4

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
{{ check_model_is_table(model) }}
2-
3-
{% if 'DISTINCT' in model.raw_code %}
4-
{{ check_model_is_table_alt(model) }}
5-
{% endif %}
6-
71
SELECT DISTINCT
82
customer_id::INT AS customer_id
93
FROM {{ ref('orders') }} as o

examples/sushi_dbt/macros/check_model_is_table.sql renamed to tests/fixtures/dbt/sushi_test/macros/check_model_is_table.sql

File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1+
{{ check_model_is_table(model) }}
2+
3+
{% if 'SELECT' in model.raw_code %}
4+
{{ check_model_is_table_alt(model) }}
5+
{% endif %}
16

27
SELECT 1 AS a

0 commit comments

Comments
 (0)