Skip to content

Commit

Permalink
change type of expected value (#890) (#891)
Browse files Browse the repository at this point in the history
(cherry picked from commit f2525cc)

Co-authored-by: Matthew McKnight <[email protected]>
  • Loading branch information
github-actions[bot] and McKnight-42 authored Aug 22, 2023
1 parent c210acf commit e4c4acf
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 e4c4acf

Please sign in to comment.