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

Commit

Permalink
converted to bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
hholgersen committed Feb 7, 2023
1 parent 63744f4 commit 27facdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target_mssql/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",)):
Expand Down

0 comments on commit 27facdb

Please sign in to comment.