Skip to content

Commit

Permalink
above
Browse files Browse the repository at this point in the history
  • Loading branch information
hantmac committed Dec 21, 2023
1 parent 4f4dfe6 commit 4aebb47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ public static Map<String, String> findDecimalFields(DatabendChangeEvent.Schema s
}

public static boolean isSchemaChanged(DatabendChangeEvent.Schema schema) {
if (schema.keySchema().isNull()) {
if (schema.keySchema().isNull() || schema.keySchema().get("name").isNull()) {
return false;
}
String schemaNameStr = schema.keySchema().get("name").textValue();
Expand Down

0 comments on commit 4aebb47

Please sign in to comment.