From 27facdb804c26b5e91b1554161e56c1a69c7f6b5 Mon Sep 17 00:00:00 2001 From: hholgersen Date: Tue, 7 Feb 2023 17:38:13 +0100 Subject: [PATCH] converted to bigint --- target_mssql/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_mssql/connector.py b/target_mssql/connector.py index 662cd2d..3bf7e3e 100644 --- a/target_mssql/connector.py +++ b/target_mssql/connector.py @@ -349,7 +349,7 @@ def to_sql_type(self, jsonschema_type: dict) -> sqlalchemy.types.TypeEngine: # ) if self._jsonschema_type_check(jsonschema_type, ("integer",)): - return cast(sqlalchemy.types.TypeEngine, sqlalchemy.types.INTEGER()) + return cast(sqlalchemy.types.TypeEngine, sqlalchemy.types.BIGINT()) if self._jsonschema_type_check(jsonschema_type, ("number",)): return cast(sqlalchemy.types.TypeEngine, sqlalchemy.types.NUMERIC(22, 16)) if self._jsonschema_type_check(jsonschema_type, ("boolean",)):