Vallishp opened a new pull request, #27976:
URL: https://github.com/apache/doris/pull/27976
This fix will improve the error code for unknown table
exception cases.
## Proposed changes
Issue Number: close #27751
Unknown table exception always return 1105 Other errors.
After code analysis Doris already has a error code 1051 and 1109 for unknown
table exceptions.
Change according for all table related sql commands.
Only drop command is returning 1109 which is current code behaviour.
without this fix drop command also return 1105 Other errors.
I looked up 1109 error code also suitable if message has unknown table
table_name in schema/db.
This fix need docs changes will raise another PR for it.
## 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]