🐛 Source MySQL: Value '65535' is outside valid range for type (#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>
This commit is contained in:
committed by
GitHub
parent
a377ac7340
commit
7c3b7ef489
@@ -8,6 +8,6 @@ COPY build/distributions/${APPLICATION}*.tar ${APPLICATION}.tar
|
||||
|
||||
RUN tar xf ${APPLICATION}.tar --strip-components=1
|
||||
|
||||
LABEL io.airbyte.version=0.4.8
|
||||
LABEL io.airbyte.version=0.4.9
|
||||
|
||||
LABEL io.airbyte.name=airbyte/source-mysql
|
||||
|
||||
@@ -102,6 +102,16 @@ public class MySqlSourceDatatypeTest extends AbstractSourceDatabaseTypeTest {
|
||||
.addExpectedValues("1")
|
||||
.build());
|
||||
|
||||
|
||||
addDataTypeTestData(
|
||||
TestDataHolder.builder()
|
||||
.sourceType("smallint")
|
||||
.airbyteType(JsonSchemaPrimitive.NUMBER)
|
||||
.fullSourceDataType("smallint unsigned")
|
||||
.addInsertValues("null", "0", "65535")
|
||||
.addExpectedValues(null, "0", "65535")
|
||||
.build());
|
||||
|
||||
addDataTypeTestData(
|
||||
TestDataHolder.builder()
|
||||
.sourceType("mediumint")
|
||||
|
||||
Reference in New Issue
Block a user