Skip to content

Commit

Permalink
change type of expected value (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
McKnight-42 authored Aug 22, 2023
1 parent eb58c7d commit f2525cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230821-180758.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: changes expected value types to AnyInteger to take into account changes in core
time: 2023-08-21T18:07:58.746741-05:00
custom:
Author: McKnight-42
Issue: "889"
6 changes: 3 additions & 3 deletions tests/functional/adapter/expected_stats.py
Original file line number Diff line number Diff line change
@@ -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):
Expand All @@ -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,
},
Expand Down

0 comments on commit f2525cc

Please sign in to comment.