lvyanquan commented on code in PR #3428:
URL: https://github.com/apache/flink-cdc/pull/3428#discussion_r1667325167


##########
flink-cdc-runtime/src/main/java/org/apache/flink/cdc/runtime/operators/schema/SchemaOperator.java:
##########
@@ -88,22 +90,28 @@ public class SchemaOperator extends 
AbstractStreamOperator<Event>
     private static final Logger LOG = 
LoggerFactory.getLogger(SchemaOperator.class);
     private static final Duration CACHE_EXPIRE_DURATION = Duration.ofDays(1);
 
-    private final List<Tuple2<String, TableId>> routingRules;
+    private final List<RouteRule> routingRules;
+
+    /**
+     * Storing route source table selector, sink table name (before symbol 
replacement), and replace
+     * symbol in a tuple.
+     */
+    private transient List<Tuple3<Selectors, String, String>> routes;
 
-    private transient List<Tuple2<Selectors, TableId>> routes;
     private transient TaskOperatorEventGateway toCoordinator;
     private transient SchemaEvolutionClient schemaEvolutionClient;
     private transient LoadingCache<TableId, Schema> cachedSchemas;
+    private transient LoadingCache<TableId, List<TableId>> tableIdMappingCache;

Review Comment:
   Add some comments to explain what value means.



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