LadyForest commented on code in PR #24932:
URL: https://github.com/apache/flink/pull/24932#discussion_r1638477886


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/CatalogManager.java:
##########
@@ -327,11 +328,15 @@ public void createCatalog(String catalogName, 
CatalogDescriptor catalogDescripto
      *
      * @param catalogName the given catalog name under which to alter the 
given catalog
      * @param catalogUpdater catalog configuration updater to alter catalog
+     * @param catalogCommentUpdater catalog comment updater to alter catalog
      * @throws CatalogException If the catalog neither exists in the catalog 
store nor in the
      *     initialized catalogs, or if an error occurs while creating the 
catalog or storing the
      *     {@link CatalogDescriptor}
      */
-    public void alterCatalog(String catalogName, Consumer<Configuration> 
catalogUpdater)
+    public void alterCatalog(
+            String catalogName,
+            Consumer<Configuration> catalogUpdater,
+            Function<String, String> catalogCommentUpdater)

Review Comment:
   I've created a [PR](https://github.com/liyubin117/flink/pull/2) to refactor 
this method.



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