hailin0 commented on code in PR #5302:
URL: https://github.com/apache/seatunnel/pull/5302#discussion_r1304105540
##########
seatunnel-connectors-v2/connector-cdc/connector-cdc-mysql/src/main/java/org/apache/seatunnel/connectors/seatunnel/cdc/mysql/utils/MySqlTypeUtils.java:
##########
@@ -87,9 +92,10 @@ public static SeaTunnelDataType<?> convertFromColumn(Column
column) {
case MYSQL_BIT:
return BasicType.BOOLEAN_TYPE;
case MYSQL_TINYINT:
- return column.length() == 1 ? BasicType.BOOLEAN_TYPE :
BasicType.INT_TYPE;
+ return BasicType.BYTE_TYPE;
Review Comment:
The read data is not converted according to this mapping...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]