Skip to content

[#6082] fix: Fix error code of creating role operation#6085

Merged
jerryshao merged 1 commit intoapache:mainfrom
qqqttt123:ISSUE-6082
Jan 3, 2025
Merged

[#6082] fix: Fix error code of creating role operation#6085
jerryshao merged 1 commit intoapache:mainfrom
qqqttt123:ISSUE-6082

Conversation

@roryqi
Copy link
Contributor

@roryqi roryqi commented Jan 3, 2025

What changes were proposed in this pull request?

We should return 400, if the role contains an error metalake metadata object.
We should return 400, if the catalog doesn't exist.

Why are the changes needed?

Fix: #6082

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Added UT.

@roryqi roryqi self-assigned this Jan 3, 2025
@jerryshao jerryshao merged commit f893b5f into apache:main Jan 3, 2025
26 checks passed
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] Create a role for metalake which is not existed, return 500, expection is 400

2 participants