Skip to content

Conversation

@hawk9821
Copy link
Contributor

@hawk9821 hawk9821 commented Oct 30, 2025

Purpose of this pull request

Paimon's NoPrivilegeException can be divided into two situations:

  1. The first is when the username or password are incorrect
  2. The second one is unauthorized access

The first situation is converted to CatalogException(User %s not found, or password incorrect.) , and the second situation is converted to PaimonConnectorException(PaimonConnectorErrorCode.NO_PRIVILEGE) , Convert Paimon's exception to Seattunnel's exception.

Does this PR introduce any user-facing change?

How was this patch tested?

UT: PaimonPrivilegeCatalogTest

Check list

@hawk9821
Copy link
Contributor Author

cc @liucongjy @Hisoka-X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant