diff --git a/.changes/unreleased/Fixes-20230908-113019.yaml b/.changes/unreleased/Fixes-20230908-113019.yaml new file mode 100644 index 000000000..ed5957317 --- /dev/null +++ b/.changes/unreleased/Fixes-20230908-113019.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: changes expected value types to AnyInteger to take into account changes in core +time: 2023-09-08T11:30:19.77143-05:00 +custom: + Author: McKnight-42 + Issue: "597" diff --git a/tests/functional/adapter/expected_stats.py b/tests/functional/adapter/expected_stats.py index 9e635bdbb..265ae225a 100644 --- a/tests/functional/adapter/expected_stats.py +++ b/tests/functional/adapter/expected_stats.py @@ -1,4 +1,4 @@ -from dbt.tests.util import AnyStringWith, AnyFloat, AnyString +from dbt.tests.util import AnyStringWith, AnyInteger, AnyString, AnyFloat def redshift_stats(): @@ -27,14 +27,14 @@ def redshift_stats(): "max_varchar": { "id": "max_varchar", "label": "Max Varchar", - "value": AnyFloat(), + "value": AnyInteger(), "description": "Size of the largest column that uses a VARCHAR data type.", "include": True, }, "size": { "id": "size", "label": "Approximate Size", - "value": AnyFloat(), + "value": AnyInteger(), "description": "Approximate size of the table, calculated from a count of 1MB blocks", "include": True, },