Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit f2525cc

Browse files
authored
change type of expected value (#890)
1 parent eb58c7d commit f2525cc

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Fixes
2+
body: changes expected value types to AnyInteger to take into account changes in core
3+
time: 2023-08-21T18:07:58.746741-05:00
4+
custom:
5+
Author: McKnight-42
6+
Issue: "889"

tests/functional/adapter/expected_stats.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from dbt.tests.util import AnyString, AnyFloat
1+
from dbt.tests.util import AnyString, AnyInteger
22

33

44
def bigquery_stats(is_table, partition=None, cluster=None):
@@ -10,14 +10,14 @@ def bigquery_stats(is_table, partition=None, cluster=None):
1010
"num_bytes": {
1111
"id": "num_bytes",
1212
"label": AnyString(),
13-
"value": AnyFloat(),
13+
"value": AnyInteger(),
1414
"description": AnyString(),
1515
"include": True,
1616
},
1717
"num_rows": {
1818
"id": "num_rows",
1919
"label": AnyString(),
20-
"value": AnyFloat(),
20+
"value": AnyInteger(),
2121
"description": AnyString(),
2222
"include": True,
2323
},

0 commit comments

Comments
 (0)