Github user HanumathRao commented on the issue:
https://github.com/apache/drill/pull/996
@arina-ielchiieva Thank your for the comments. There is some work that went
into calcite to handle meaningful error messages. This is the checkin that has
those changes.
https://github.com/apache/calcite/commit/5f9c019080c7231acaf3df80732d915351051d93#diff-0c11f3f4d738e3fa55968eb19f1c8050
It reports following errors when a table cannot be resolved.
{code}
select empid from "hr".emps;
Object 'EMPS' not found within 'hr'; did you mean 'emps'?
!error
{code}
However, I think the error logic should be customized to particular
software(in this case DRILL) so as to report semantically meaningful error
messages. Drill knows more about the context and hence can provide more
customized error messages to the end user.
---