From a11feac84c8fe531368530843034321246758e5a Mon Sep 17 00:00:00 2001 From: VersusFacit <67295367+VersusFacit@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:17:16 -0700 Subject: [PATCH] Remove the superfluous test that is causing metadata conflicts for append. --- .../functional/iceberg/test_incremental_models.py | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tests/functional/iceberg/test_incremental_models.py b/tests/functional/iceberg/test_incremental_models.py index b7c946832..f8f1d6b89 100644 --- a/tests/functional/iceberg/test_incremental_models.py +++ b/tests/functional/iceberg/test_incremental_models.py @@ -84,22 +84,10 @@ def models(self): "delete_insert.sql": _MODEL_INCREMENTAL_ICEBERG_DELETE_INSERT, } - def test_incremental_strategies_build(self, project, setup_class): - run_results = run_dbt() - assert len(run_results) == 4 - def __check_correct_operations(self, model_name, /, rows_affected, status="SUCCESS"): - run_results, out = run_dbt_and_capture( + run_results = run_dbt( ["show", "--inline", f"select * from {{{{ ref('{model_name}') }}}} where world_id = 4"] ) - print("===================") - print("===================") - print("===================") - print(model_name) - print(out) - print("===================") - print("===================") - print("===================") assert run_results[0].adapter_response["rows_affected"] == rows_affected assert run_results[0].adapter_response["code"] == status