yunqingmoswu commented on code in PR #6225:
URL: https://github.com/apache/inlong/pull/6225#discussion_r999379824
##########
inlong-sort/sort-connectors/base/src/main/java/org/apache/inlong/sort/base/format/DebeziumJsonDynamicSchemaFormat.java:
##########
@@ -69,6 +81,49 @@ public List<String> extractPrimaryKeyNames(JsonNode data) {
return pkNames;
}
+ @Override
+ public boolean extractDDLFlag(JsonNode data) {
+ return data.has(DDL_FLAG) ? data.get(DDL_FLAG).asBoolean(false) :
false;
+ }
+
+ @Override
+ public RowType extractSchema(JsonNode data, List<String> pkNames) {
+ JsonNode schema = data.get(SCHEMA);
Review Comment:
Does sqlType exist in standard debezium json? What shoud do if it is not
exists?
--
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]