From 4a10c8dce797804ca92ecf7c94e9470d6a05440e Mon Sep 17 00:00:00 2001 From: Jacob Beck Date: Fri, 7 Jun 2019 08:38:27 -0600 Subject: [PATCH] fix bigquery test --- .../004_simple_snapshot_test/test_simple_snapshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/004_simple_snapshot_test/test_simple_snapshot.py b/test/integration/004_simple_snapshot_test/test_simple_snapshot.py index f4da4aaedb2..a3385627648 100644 --- a/test/integration/004_simple_snapshot_test/test_simple_snapshot.py +++ b/test/integration/004_simple_snapshot_test/test_simple_snapshot.py @@ -425,7 +425,7 @@ def test__bigquery__snapshot_with_new_field(self): # this should fail because `check="all"` will try to compare the nested field self.run_dbt(['snapshot'], expect_pass=False) - self.run_dbt(["snapshot", '-m', 'snapshot_actual']) + self.run_dbt(["snapshot", '--select', 'snapshot_actual']) # A more thorough test would assert that snapshotted == expected, but BigQuery does not support the # "EXCEPT DISTINCT" operator on nested fields! Instead, just check that schemas are congruent.