Skip to content

Commit

Permalink
remove mv
Browse files Browse the repository at this point in the history
  • Loading branch information
aranke committed Jun 18, 2024
1 parent a6cc1c7 commit 943be20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions dbt/adapters/snowflake/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,8 @@ def get_catalog_for_single_relation(
table_type = kind

# https://docs.snowflake.com/en/sql-reference/sql/show-views#output
is_view = kind in (
str(SnowflakeRelationType.View).upper(),
str(SnowflakeRelationType.MaterializedView).upper(),
)
# Note: we don't support materialized views in dbt-snowflake
is_view = kind == str(SnowflakeRelationType.View).upper()

table_metadata = TableMetadata(
type=table_type,
Expand Down
1 change: 0 additions & 1 deletion dbt/adapters/snowflake/relation_configs/policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
class SnowflakeRelationType(StrEnum):
Table = "table"
View = "view"
MaterializedView = "materialized_view"
CTE = "cte"
External = "external"
DynamicTable = "dynamic_table"
Expand Down

0 comments on commit 943be20

Please sign in to comment.