lsyldliu commented on code in PR #23012:
URL: https://github.com/apache/flink/pull/23012#discussion_r1266950178
##########
flink-formats/flink-json/src/main/java/org/apache/flink/formats/json/canal/CanalJsonDeserializationSchema.java:
##########
@@ -230,7 +230,7 @@ public void deserialize(@Nullable byte[] message,
Collector<RowData> out) throws
return;
}
}
- final GenericRowData row = (GenericRowData)
jsonDeserializer.convertToRowData(root);
+ final GenericRowData row = (GenericRowData)
jsonDeserializer.deserialize(message);
Review Comment:
Make sense to me.
--
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]