healchow commented on code in PR #6358:
URL: https://github.com/apache/inlong/pull/6358#discussion_r1011114184


##########
inlong-sort/sort-connectors/base/src/main/java/org/apache/inlong/sort/base/format/DebeziumJsonDynamicSchemaFormat.java:
##########
@@ -224,6 +224,9 @@ public RowType extractSchema(JsonNode data, List<String> 
pkNames) {
             return extractSchemaFromExtractInfo(data, pkNames);
         } catch (IllegalArgumentException e) {
             JsonNode schema = data.get(SCHEMA);
+            if (schema == null) {
+                throw new IllegalArgumentException(String.format("Error 
schema: %s.", data));

Review Comment:
   ```suggestion
                   throw new IllegalArgumentException(String.format("Not found 
schema from: %s", data));
   ```



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

Reply via email to