Skip to content
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

[#5825] improvement(CLI): Update the error message for creating a metalake when the required parameter is missing. #5851

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

Abyss-lord
Copy link
Contributor

What changes were proposed in this pull request?

Currently, when a metalake is created without specifying the metalake argument, the message "Cannot parse a null or empty identifier" is displayed. This message is unclear and lacks helpful guidance for the user. Update the message to: "! metalake is not defined" to make it more user-friendly and informative.

Why are the changes needed?

Fix: #5825

Does this PR introduce any user-facing change?

NO

How was this patch tested?

image

… a metalake when the required parameter is missing.

Currently, when a metalake is created without specifying the metalake argument, the message "Cannot parse a null or empty identifier" is displayed. This message is unclear and lacks helpful guidance for the user. Update the message to: "! metalake is not defined" to make it more user-friendly and informative.

fix some change
@Abyss-lord
Copy link
Contributor Author

@justinmclean @xunliu hi guys, Could you please take a look when you have time?

Use CommandEntities replace MetadataObject.Type
@Abyss-lord
Copy link
Contributor Author

Hi @justinmclean , plz review this pr again, I just change the code

Copy link
Member

@justinmclean justinmclean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution.

@justinmclean justinmclean merged commit fe07128 into apache:main Dec 16, 2024
25 checks passed
@Abyss-lord Abyss-lord deleted the fix-metalake-create branch December 16, 2024 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] If no metalake is specified an obscure error is displayed in the Gravitino CLI
2 participants