Abyss-lord commented on code in PR #5897:
URL: https://github.com/apache/gravitino/pull/5897#discussion_r1889710753
##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -811,6 +826,16 @@ private void handleFilesetCommand() {
}
}
+ private boolean hasEntity(FullName name) {
+ // TODO fileset and topic
+ return !(Objects.isNull(name.getCatalogName())
+ && Objects.isNull(name.getSchemaName())
+ && Objects.isNull(name.getTableName()));
+ }
+
+ private void showEntityUndefinedMessage() {
+ System.err.println(ErrorMessages.MISSING_ENTITY);
+ }
Review Comment:
Since the warning is identical in all three places, I want to centralize it
to make future updates to the message easier. should we keep 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]