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


##########
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:
   > 关闭开关后,无需处理记录,因为遍历此处的数据可能会导致性能损失。
   
   Okay, let me make some adjustments



##########
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:
   > 关闭开关后,无需处理记录,因为遍历此处的数据可能会导致性能损失。
   
   Okay, let me make some adjustments



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to