From 02c3f7059fe5c7b98283ae8b5ca9150d7aebca8f Mon Sep 17 00:00:00 2001 From: Matthew McKnight Date: Thu, 7 Sep 2023 16:13:56 -0500 Subject: [PATCH] push up fix to core change in agate_helper --- .changes/unreleased/Fixes-20230907-161347.yaml | 6 ++++++ tests/functional/adapter/expected_stats.py | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changes/unreleased/Fixes-20230907-161347.yaml diff --git a/.changes/unreleased/Fixes-20230907-161347.yaml b/.changes/unreleased/Fixes-20230907-161347.yaml new file mode 100644 index 000000000..b0309afc2 --- /dev/null +++ b/.changes/unreleased/Fixes-20230907-161347.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: changes expected value types to AnyInteger to take into account changes in core +time: 2023-09-07T16:13:47.005796-05:00 +custom: + Author: McKnight-42 + Issue: "915" diff --git a/tests/functional/adapter/expected_stats.py b/tests/functional/adapter/expected_stats.py index f4a1e022d..560d8de73 100644 --- a/tests/functional/adapter/expected_stats.py +++ b/tests/functional/adapter/expected_stats.py @@ -1,4 +1,4 @@ -from dbt.tests.util import AnyString, AnyFloat +from dbt.tests.util import AnyString, AnyInteger def bigquery_stats(is_table, partition=None, cluster=None): @@ -10,14 +10,14 @@ def bigquery_stats(is_table, partition=None, cluster=None): "num_bytes": { "id": "num_bytes", "label": AnyString(), - "value": AnyFloat(), + "value": AnyInteger(), "description": AnyString(), "include": True, }, "num_rows": { "id": "num_rows", "label": AnyString(), - "value": AnyFloat(), + "value": AnyInteger(), "description": AnyString(), "include": True, },