Repository navigation
🐛 Source MySQL: Value '65535' is outside valid range for type - #7559
Conversation
|
/test connector=connectors/source-mysql
|
Oleksandr Sheheda (alexandr-shegeda)
left a comment
There was a problem hiding this comment.
LGTM. we can proceed with publishing and merging without airbyte review
|
please, run |
|
/test connector=connectors/source-mysql-strict-encrypt
|
07b2b85 to
413f387
Compare
|
/test connector=connectors/source-mysql
|
|
/test connector=connectors/source-mysql
|
|
/test connector=connectors/source-mysql
|
9285cc6 to
413f387
Compare
Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
|
/test connector=connectors/source-mysql
|
|
/test connector=connectors/source-mysql-strict-encrypt
|
|
/publish connector=connectors/source-mysql
|
…ehq#7559) * BUG-5842: Mysql Value '65535' is outside valid range for type java.lang.Short * BUG-5842: Bumped versions of connector. * BUG-5842: Fixed unit-test for mysql-encrypt * Update docs/integrations/sources/mysql.md Co-authored-by: Sherif A. Nada <snadalive@gmail.com> Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
What
In some sources, Short might have a value larger than Short max value. E.q. MySQL has an unsigned smallint type, which can contain value 65535. If we fail to cast a Short value, we will try to cast Integer.
How
Handle the case, when assignment to Short value is not possible and cast to Integer in such case.
Recommended reading order
x.javaPre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret./gradlew :airbyte-integrations:connectors:<name>:integrationTest.README.mdbootstrap.md. See description and examplesdocs/SUMMARY.mddocs/integrations/<source or destination>/<name>.mdincluding changelog. See changelog exampledocs/integrations/README.mdairbyte-integrations/builds.mdAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>command is passing./publishcommand described hereUpdating a connector
Community member or Airbyter
airbyte_secret./gradlew :airbyte-integrations:connectors:<name>:integrationTest.README.mdbootstrap.md. See description and examplesdocs/integrations/<source or destination>/<name>.mdincluding changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>command is passing./publishcommand described here for both insecure and encrypted connectorConnector Generator
-scaffoldin their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplatesthen checking in your changes