-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#5831] fix(CLI): Fix CLi gives unexpected output when input tag set command #5897
base: main
Are you sure you want to change the base?
Conversation
hi @justinmclean @xunliu , Could you please take a look when you have time? |
clients/cli/src/main/java/org/apache/gravitino/cli/ErrorMessages.java
Outdated
Show resolved
Hide resolved
@@ -811,6 +826,16 @@ private void handleFilesetCommand() { | |||
} | |||
} | |||
|
|||
private boolean hasEntity(FullName name) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic here is not correct as for instance a table name can be null if you are dealing with a schema or a catalog.
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java
Outdated
Show resolved
Hide resolved
2857789
to
328bc1f
Compare
…a tag Running the command gcli tag set --metalake metalake_demo or gcli tag remove --metalake metalake_demo gives unexpected output.it should give some help information.
…a tag fix failed test case.
…a tag fix some problems according to reviewer.
…a tag Change the code due to new pr merged.
328bc1f
to
d435355
Compare
This is not making 100% sense to me. There are a couple of things I think can be improved here:
|
What changes were proposed in this pull request?
Running the command gcli tag set --metalake metalake_demo or gcli tag remove --metalake metalake_demo gives unexpected output.it should give some help information.
Why are the changes needed?
Fix: #5831
Does this PR introduce any user-facing change?
NO
How was this patch tested?