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


##########
flink-table/flink-table-common/src/main/java/org/apache/flink/table/catalog/CatalogDescriptor.java:
##########
@@ -48,18 +51,29 @@ public Configuration getConfiguration() {
         return configuration;
     }
 
-    private CatalogDescriptor(String catalogName, Configuration configuration) 
{
+    public String getComment() {
+        return comment;
+    }
+
+    private CatalogDescriptor(String catalogName, Configuration configuration, 
String comment) {

Review Comment:
   done



##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/operations/DescribeCatalogOperation.java:
##########
@@ -84,8 +84,7 @@ public TableResultInternal execute(Context ctx) {
                                         "type",
                                         properties.getOrDefault(
                                                 
CommonCatalogOptions.CATALOG_TYPE.key(), "")),
-                                // TODO: Show the catalog comment until 
FLINK-34918 is resolved
-                                Arrays.asList("comment", "")));
+                                Arrays.asList("comment", 
catalogDescriptor.getComment())));

Review Comment:
   done



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