aiwenmo commented on code in PR #3812:
URL: https://github.com/apache/flink-cdc/pull/3812#discussion_r2003452471
##########
flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/operators/schema/common/SchemaDerivator.java:
##########
@@ -134,6 +135,19 @@ public static Set<Schema>
reverseLookupDependingUpstreamSchemas(
.collect(Collectors.toSet());
}
+ /** For an evolved table ID, reverse lookup all upstream schemas that
needs to be fit in. */
+ public static Set<Schema> reverseLookupDependingUpstreamSchemas(
+ final TableIdRouter tableIdRouter,
+ final TableId evolvedTableId,
+ final Set<TableId> allOriginalTables,
+ final Schema originalSchema) {
+ return reverseLookupDependingUpstreamTables(
+ tableIdRouter, evolvedTableId, allOriginalTables)
+ .stream()
+ .map(utid -> originalSchema)
+ .collect(Collectors.toSet());
+ }
+
Review Comment:
This code is useless and should be deleted.
--
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]