From 1f2fc5a4e72090c46e664dc5a9dc10fc2ca74397 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Mon, 7 Oct 2024 15:07:57 -0400 Subject: [PATCH] Some debugging output --- .../dbt/tests/adapter/simple_snapshot/test_various_configs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dbt-tests-adapter/dbt/tests/adapter/simple_snapshot/test_various_configs.py b/dbt-tests-adapter/dbt/tests/adapter/simple_snapshot/test_various_configs.py index 8189b0e6..3c30f545 100644 --- a/dbt-tests-adapter/dbt/tests/adapter/simple_snapshot/test_various_configs.py +++ b/dbt-tests-adapter/dbt/tests/adapter/simple_snapshot/test_various_configs.py @@ -312,12 +312,15 @@ def test_valid_to_current(self, project): project.run_sql(seed_dbt_valid_to_sql) results = run_dbt(["snapshot"]) assert len(results) == 1 + manifest = get_manifest(project.project_root) + print(f"--- nodes keys: {manifest.nodes.keys()}") original_snapshot = run_sql_with_adapter( project.adapter, "select id, test_scd_id, test_valid_to from {database}.{schema}.snapshot_actual", "all", ) + print(f"\n\n--- original_snapshot: {original_snapshot}") assert original_snapshot[0][2] == datetime.datetime(2099, 12, 31, 0, 0) assert original_snapshot[9][2] == datetime.datetime(2099, 12, 31, 0, 0)