zhuangchong commented on code in PR #3667:
URL: https://github.com/apache/paimon/pull/3667#discussion_r1665044885
##########
paimon-flink/paimon-flink-cdc/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlRecordParser.java:
##########
@@ -174,7 +174,7 @@ private List<DataField> extractFields(Table table) {
typeMapping);
dataType = dataType.copy(typeMapping.containsMode(TO_NULLABLE) ||
column.isOptional());
- rowType.field(column.name(), dataType);
+ rowType.field(column.name(), dataType, column.comment());
Review Comment:
For users using Flink MySQL CDC 2.3.x, the column.comment() code will report
a method not found exception.
--
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]