Skip to content

Commit

Permalink
🎉Source-mysql: aligned datatype test (#13945)
Browse files Browse the repository at this point in the history
* [13607] source-mysql: aligned datatype tests for regular and CDC ways + added CHAR fix to CDC processing
  • Loading branch information
etsybaev authored Jun 21, 2022
1 parent b9f79cc commit 3933972
Show file tree
Hide file tree
Showing 9 changed files with 443 additions and 771 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@
- name: MySQL
sourceDefinitionId: 435bb9a5-7887-4809-aa58-28c27df0d7ad
dockerRepository: airbyte/source-mysql
dockerImageTag: 0.5.12
dockerImageTag: 0.5.13
documentationUrl: https://docs.airbyte.io/integrations/sources/mysql
icon: mysql.svg
sourceType: database
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5639,7 +5639,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-mysql:0.5.12"
- dockerImage: "airbyte/source-mysql:0.5.13"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/mysql"
connectionSpecification:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class MySQLConverter implements CustomConverter<SchemaBuilder, Relational
private static final Logger LOGGER = LoggerFactory.getLogger(MySQLConverter.class);

private final String[] DATE_TYPES = {"DATE", "DATETIME", "TIME"};
private final String[] TEXT_TYPES = {"VARCHAR", "TEXT", "LONGTEXT", "TINYTEXT", "MEDIUMTEXT"};
private final String[] TEXT_TYPES = {"CHAR", "VARCHAR", "TEXT", "LONGTEXT", "TINYTEXT", "MEDIUMTEXT"};

@Override
public void configure(final Properties props) {}
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ENV APPLICATION source-mysql

COPY --from=build /airbyte /airbyte

LABEL io.airbyte.version=0.5.12
LABEL io.airbyte.version=0.5.13
LABEL io.airbyte.name=airbyte/source-mysql
Loading

0 comments on commit 3933972

Please sign in to comment.