Skip to content

Commit

Permalink
A saved state integer should map to the largest possible big int - re… (
Browse files Browse the repository at this point in the history
  • Loading branch information
rodireich authored Nov 20, 2024
1 parent 696b979 commit 6f25f82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-mysql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
connectorSubtype: database
connectorType: source
definitionId: 435bb9a5-7887-4809-aa58-28c27df0d7ad
dockerImageTag: 3.9.0-rc.15
dockerImageTag: 3.9.0-rc.16
dockerRepository: airbyte/source-mysql
documentationUrl: https://docs.airbyte.com/integrations/sources/mysql
githubIssueLabel: source-mysql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class MysqlJdbcPartitionFactory(
is LeafAirbyteSchemaType ->
return when (field.type.airbyteSchemaType as LeafAirbyteSchemaType) {
LeafAirbyteSchemaType.INTEGER -> {
Jsons.valueToTree(stateValue?.toInt())
Jsons.valueToTree(stateValue?.toBigInteger())
}
LeafAirbyteSchemaType.NUMBER -> {
Jsons.valueToTree(stateValue?.toDouble())
Expand Down

0 comments on commit 6f25f82

Please sign in to comment.