-
Notifications
You must be signed in to change notification settings - Fork 383
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
[#5963] feat(client): added delete cli command model #6099
Conversation
@justinmclean When you find the time, could you please review this? Thanks. |
{ | ||
boolean force = line.hasOption(GravitinoOptions.FORCE); | ||
newDeleteModel(url, ignore, force, metalake, catalog, schema, model).handle(); | ||
break; |
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.
very minor, but keep break as last line
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.
I did update to fix this, but I'm curious if you mean that break should be the last line of a case clause, even if there's braces around the code inside the case clause?
Made the slight changes to the docs as mentioned above. |
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.
Thanks for your work on this.
What changes were proposed in this pull request?
The delete command is one of the commands suggested by @justinmclean as part of adding Model entity support for the CLI.
Why are the changes needed?
To add delete functionality for a Model using the CLI
Improvement: #5963 (NOTE: Create command is redundant with addition of Register command)
Does this PR introduce any user-facing change?
Yes.
The delete command for a model was added.
How was this patch tested?
Unit tests were added for Model CLI support and ran successfully for the delete command, along with CI tests in forked repository