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


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/ShowCreateUtil.java:
##########
@@ -82,7 +82,11 @@ static String getColumnString(Column column) {
                                 sb.append(e);
                             });
         }
-        // TODO: Print the column comment until FLINK-18958 is fixed
+        Optional<String> comment = column.getComment();
+        if (comment.isPresent()) {
+            sb.append(" ");
+            sb.append(String.format("comment '%s'", comment.get()));

Review Comment:
   Thanks for your detailed review, I have fixed it and rebased to master 
branch.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to