ilyasahsan123 commented on code in PR #41331:
URL: https://github.com/apache/beam/pull/41331#discussion_r4682521060
##########
sdks/java/io/debezium/src/main/java/org/apache/beam/io/debezium/SourceRecordJson.java:
##########
@@ -592,6 +766,14 @@ private static boolean
isTransactionMetadataEvent(@Nullable Schema keySchema) {
return keySchema != null &&
SCHEMA_TRANSACTION_METADATA_EVENT_KEY_NAME.equals(keySchema.name());
}
+ /**
+ * Whether the record is a schema change event, emitted for each DDL
statement when {@code
+ * include.schema.changes} is enabled. These are identified by their key
schema name.
+ */
+ private static boolean isSchemaChangeEventKeyName(@Nullable Schema
keySchema) {
Review Comment:
I agree with you. I will rename the method to `isSchemaChangeEvent`.
--
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]