wuwenchi opened a new pull request, #34856:
URL: https://github.com/apache/doris/pull/34856

   ## 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
   ```
   
   <!--Describe your changes.-->
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to