Skip to content

Commit 6d91088

Browse files
authored
Revert "fix(snowflake): remove target_file_size from Iceberg REST catalog test fixtures" (#1878)
1 parent 8d2d531 commit 6d91088

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

dbt-snowflake/.changes/unreleased/Under the Hood-20260417-164156.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

dbt-snowflake/tests/functional/adapter/catalog_integrations/test_iceberg_rest_catalog_integrations.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
MODEL__ICEBERG_TABLE_WITH_CATALOG_CONFIG = """
1515
{{ config(materialized='table', catalog_name='basic_iceberg_rest_catalog',
16-
max_data_extension_time_in_days=1, auto_refresh='true') }}
16+
target_file_size='16MB', max_data_extension_time_in_days=1, auto_refresh='true') }}
1717
select 1 as id
1818
"""
1919

@@ -70,6 +70,7 @@ def catalogs(self):
7070
),
7171
# No catalog_linked_database_type means standard CTAS is used
7272
"max_data_extension_time_in_days": 1,
73+
"target_file_size": "AUTO",
7374
"auto_refresh": "true",
7475
},
7576
}
@@ -125,6 +126,7 @@ def catalogs(self):
125126
),
126127
"catalog_linked_database_type": "glue", # Glue requires 4-step process
127128
"max_data_extension_time_in_days": 1,
129+
"target_file_size": "AUTO",
128130
"auto_refresh": "true",
129131
},
130132
}
@@ -186,7 +188,7 @@ def models(self):
186188
""",
187189
"glue_iceberg_table_with_catalog_config.sql": """
188190
{{ config(materialized='table', catalog_name='glue_iceberg_rest_catalog',
189-
max_data_extension_time_in_days=1, auto_refresh='true') }}
191+
target_file_size='16MB', max_data_extension_time_in_days=1, auto_refresh='true') }}
190192
select 1 as id
191193
""",
192194
}

dbt-snowflake/tests/functional/iceberg/test_iceberg_partition_by.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def catalogs(self):
153153
"SNOWFLAKE_TEST_CATALOG_LINKED_DATABASE"
154154
),
155155
"max_data_extension_time_in_days": 1,
156+
"target_file_size": "AUTO",
156157
"auto_refresh": "true",
157158
},
158159
}
@@ -172,6 +173,7 @@ def catalogs(self):
172173
),
173174
"catalog_linked_database_type": "glue", # Glue requires 4-step process
174175
"max_data_extension_time_in_days": 1,
176+
"target_file_size": "AUTO",
175177
"auto_refresh": "true",
176178
},
177179
}

0 commit comments

Comments
 (0)