You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "yuzelin (via GitHub)" <gi...@apache.org> on 2023/06/02 03:25:13 UTC
[GitHub] [incubator-paimon] yuzelin commented on a diff in pull request #1281: [flink] Fix EventParser initializes mysqlFiled every record
yuzelin commented on code in PR #1281:
URL: https://github.com/apache/incubator-paimon/pull/1281#discussion_r1213871585
##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlDebeziumJsonEventParser.java:
##########
@@ -67,8 +68,8 @@ public class MySqlDebeziumJsonEventParser implements EventParser<String> {
private final List<ComputedColumn> computedColumns;
private JsonNode payload;
- private Map<String, String> mySqlFieldTypes;
- private Map<String, String> fieldClassNames;
+ private Map<String, Map<String, String>> mySqlFieldTypesMap = Maps.newConcurrentMap();
+ private Map<String, Map<String, String>> fieldClassNamesMap = Maps.newConcurrentMap();
Review Comment:
Add a comment like `table name -> (field name -> type)` to make it easier to understand?
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org