-
Notifications
You must be signed in to change notification settings - Fork 382
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
[Improvement] In the Gravitino CLI add an unknown tags give no error #5930
Labels
Comments
justinmclean
added
good first issue
Good for newcomers
improvement
Improvements on everything
labels
Dec 20, 2024
This is an intentional behavior, for non-existent tags, its behavior is on-op. I think we just need to improve the documentation. WDYT? @jerryshao |
justinmclean
changed the title
[Improvement] In teh Gravitino CLI add an unknown tags give no error
[Improvement] In the Gravitino CLI add an unknown tags give no error
Dec 20, 2024
Yes, it is by design, otherwise it will be a high-cost operation to check the validity of tags. I can improve the docs if required. |
Other tag commands do check if the tag exists e.g. setting a property on a tag |
I would like to work on it. |
Abyss-lord
added a commit
to Abyss-lord/gravitino
that referenced
this issue
Dec 25, 2024
Improve output when CLI add an unknown tags.
Abyss-lord
added a commit
to Abyss-lord/gravitino
that referenced
this issue
Dec 29, 2024
) ### What changes were proposed in this pull request? Improve output when CLI add an unknown tags. ### Why are the changes needed? Fix: apache#5930 ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? local test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would you like to be improved?
Adding a tag that doesn;t exist will give no error and no tag is added. Example command and output:
How should we improve?
The output could be improved e.g. "catalog_postgres now tagged with nothing". However, this seems more like a Java API issue in that NoSuchTag exception or similar should have been thrown.
The text was updated successfully, but these errors were encountered: