pvary commented on code in PR #14406:
URL: https://github.com/apache/iceberg/pull/14406#discussion_r2454474949


##########
flink/v2.0/flink/src/main/java/org/apache/iceberg/flink/sink/dynamic/TableMetadataCache.java:
##########
@@ -80,6 +87,14 @@ ResolvedSchemaInfo schema(TableIdentifier identifier, Schema 
input) {
     return schema(identifier, input, true);
   }
 
+  ResolvedSchemaInfo getResolvedSchemaInfo(TableIdentifier identifier, Schema 
input) {
+    CacheItem tableCacheItem = tableCache.get(identifier);
+    if (tableCacheItem == null) {
+      return null;
+    }
+    return tableCacheItem.inputSchemas.get(input);
+  }
+

Review Comment:
   Why is this method?
   Is it for testing only?
   Could we just reuse an existing one?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to