Skip to content

Conversation

@wuwenchi
Copy link
Contributor

Proposed changes

If the exception is not caught manually, the exception will be handled by the RPC framework, resulting in the inability to intuitively obtain error information from the MySQL client.
Manually catch the exception and view the error information directly from the client when an error occurs.
before:

ERROR 1105 (HY000): errCode = 2, detailMessage = (172.21.0.101)[CANCELLED][THRIFT_RPC_ERROR]failed to call frontend service, FE address=172.21.0.101:39021, reason: Internal error processing fetchSchemaTableData

after:

ERROR 1105 (HY000): errCode = 2, detailMessage = (172.21.0.101)[CANCELLED][INTERNAL_ERROR]TStatus: Table does not exist: db1.iceberg_position_orc

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@wuwenchi
Copy link
Contributor Author

run buildall

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label May 14, 2024
@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants