sdhzwc commented on code in PR #199:
URL: 
https://github.com/apache/doris-flink-connector/pull/199#discussion_r1336749959


##########
flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/mysql/ParsingProcessFunction.java:
##########
@@ -62,4 +63,23 @@ public static OutputTag<String> createRecordOutputTag(String 
tableName) {
         return new OutputTag<String>("record-" + tableName) {
         };
     }
+
+    public String recordConvert(String record) throws Exception {
+        JsonNode recordRoot = objectMapper.readValue(record, JsonNode.class);

Review Comment:
   > 此处需要添加一个开关。只有当它打开时,才需要转换数据。
   
   
![image](https://github.com/apache/doris-flink-connector/assets/46134044/6114ef08-1a34-4177-9148-004d71fb46d5)
   
![image](https://github.com/apache/doris-flink-connector/assets/46134044/da20f9f4-1af6-4878-89d7-7d7636135d13)
   Actually, it has already been processed



##########
flink-doris-connector/src/main/java/org/apache/doris/flink/tools/cdc/mysql/ParsingProcessFunction.java:
##########
@@ -62,4 +63,23 @@ public static OutputTag<String> createRecordOutputTag(String 
tableName) {
         return new OutputTag<String>("record-" + tableName) {
         };
     }
+
+    public String recordConvert(String record) throws Exception {
+        JsonNode recordRoot = objectMapper.readValue(record, JsonNode.class);

Review Comment:
   > 此处需要添加一个开关。只有当它打开时,才需要转换数据。
   
   
![image](https://github.com/apache/doris-flink-connector/assets/46134044/6114ef08-1a34-4177-9148-004d71fb46d5)
   
![image](https://github.com/apache/doris-flink-connector/assets/46134044/da20f9f4-1af6-4878-89d7-7d7636135d13)
   Actually, it has already been processed



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to