GitHub user HanumathRao opened a pull request:
https://github.com/apache/drill/pull/996
DRILL-5878: TableNotFound exception is being reported for a wrong stoâ¦
â¦rage plugin.
@paul-rogers @chunhui-shi Please review these changes. These changes are
for reporting a meaningful error in case of wrong storage plugin is specified
in the query. Currently Drill reports TableNotFound exception for
1) if no storage plugin exists.
2) if no table with the tablename exists.
These changes report SchemaNotFound exception for case 1) and TableNotFound
exception for 2).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HanumathRao/drill DRILL-5878
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/996.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #996
----
commit 1eba3a7234fbcf61659a1667aebc5034081b4984
Author: Hanumath Rao Maduri <[email protected]>
Date: 2017-09-16T23:54:00Z
DRILL-5878: TableNotFound exception is being reported for a wrong storage
plugin.
----
---