Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit a30a905

Browse files
committed
tests: add bigint/int
1 parent 42795b5 commit a30a905

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/test_database_types.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def __next__(self) -> float:
170170
"int": [
171171
# "smallint", # 2 bytes
172172
"int", # 4 bytes
173-
# "bigint", # 8 bytes
173+
"bigint", # 8 bytes
174174
],
175175
# https://www.postgresql.org/docs/current/datatype-datetime.html
176176
"datetime_no_timezone": [
@@ -193,7 +193,7 @@ def __next__(self) -> float:
193193
# "smallint", # 2 bytes
194194
# "mediumint", # 3 bytes
195195
"int", # 4 bytes
196-
# "bigint", # 8 bytes
196+
"bigint", # 8 bytes
197197
],
198198
# https://dev.mysql.com/doc/refman/8.0/en/datetime.html
199199
"datetime_no_timezone": [
@@ -228,8 +228,8 @@ def __next__(self) -> float:
228228
"int": [
229229
# all 38 digits with 0 precision, don't need to test all
230230
"int",
231-
# "integer",
232-
# "bigint",
231+
"integer",
232+
"bigint",
233233
# "smallint",
234234
# "tinyint",
235235
# "byteint"
@@ -264,6 +264,7 @@ def __next__(self) -> float:
264264
db.Oracle: {
265265
"int": [
266266
"int",
267+
"bigint",
267268
],
268269
"datetime_no_timezone": [
269270
"timestamp with local time zone",
@@ -281,7 +282,7 @@ def __next__(self) -> float:
281282
# "smallint", # 2 bytes
282283
# "mediumint", # 3 bytes
283284
"int", # 4 bytes
284-
# "bigint", # 8 bytes
285+
"bigint", # 8 bytes
285286
],
286287
"datetime_no_timezone": [
287288
"timestamp",

0 commit comments

Comments
 (0)