Skip to content

Commit

Permalink
fix iceberg table detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ms32035 committed Jan 22, 2025
1 parent b687ac4 commit 97eb296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/include/snowflake/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
{% if adapter.behavior.enable_iceberg_materializations.no_warn %}
select all_objects.*, is_iceberg
from table(result_scan(last_query_id(-1))) all_objects
left join INFORMATION_SCHEMA.tables as all_tables
left join {{ schema_relation.database }}.INFORMATION_SCHEMA.tables as all_tables
on all_tables.table_name = all_objects."name"
and all_tables.table_schema = all_objects."schema_name"
and all_tables.table_catalog = all_objects."database_name"
Expand Down

0 comments on commit 97eb296

Please # to comment.