justinmclean commented on code in PR #5975:
URL: https://github.com/apache/gravitino/pull/5975#discussion_r1897586732


##########
clients/cli/src/main/java/org/apache/gravitino/cli/outputs/PlainFormat.java:
##########
@@ -80,4 +83,11 @@ public void output(Catalog[] catalogs) {
       System.out.println(all);
     }
   }
+
+  static final class SchemaPlainFormat implements OutputFormat<Schema> {
+    @Override
+    public void output(Schema schema) {
+      System.out.println(schema.name() + "," + schema.comment());
+    }

Review Comment:
   This is missing the null check of the previous code. As per more recent PRs, 
it should also output "No schemas exist." if there are none.



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