Skip to content

Commit

Permalink
Merge branch 'main' into feature/applied-state/get-catalog-by-object
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare authored Oct 11, 2023
2 parents 7d5f735 + 0bf3822 commit 290cb77
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230919-171047.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Support storing test failures as views
time: 2023-09-19T17:10:47.516098-04:00
custom:
Author: mikealfare
Issue: "6914"
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20231002-144648.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fix the alter syntax on column for dynamic table
time: 2023-10-02T14:46:48.980242+13:00
custom:
Author: kaarthik108
Issue: "769"
2 changes: 1 addition & 1 deletion dbt/include/snowflake/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
{% macro snowflake__alter_column_comment(relation, column_dict) -%}
{% set existing_columns = adapter.get_columns_in_relation(relation) | map(attribute="name") | list %}
{% if relation.is_dynamic_table -%}
{% set relation_type = "dynamic table" %}
{% set relation_type = "table" %}
{% else -%}
{% set relation_type = relation.type %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
from dbt.tests.adapter.store_test_failures_tests import basic
from dbt.tests.adapter.store_test_failures_tests.test_store_test_failures import (
TestStoreTestFailures,
)


class SnowflakeTestStoreTestFailures(TestStoreTestFailures):
class TestSnowflakeStoreTestFailures(TestStoreTestFailures):
pass


class TestStoreTestFailuresAsInteractions(basic.StoreTestFailuresAsInteractions):
pass


class TestStoreTestFailuresAsProjectLevelOff(basic.StoreTestFailuresAsProjectLevelOff):
pass


class TestStoreTestFailuresAsProjectLevelView(basic.StoreTestFailuresAsProjectLevelView):
pass


class TestStoreTestFailuresAsGeneric(basic.StoreTestFailuresAsGeneric):
pass


class TestStoreTestFailuresAsProjectLevelEphemeral(basic.StoreTestFailuresAsProjectLevelEphemeral):
pass


class TestStoreTestFailuresAsExceptions(basic.StoreTestFailuresAsExceptions):
pass

0 comments on commit 290cb77

Please sign in to comment.