drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-2583) Querying a non-existent table from hbase should throw a proper error message
Date Thu, 17 Sep 2015 23:50:04 GMT

    [ https://issues.apache.org/jira/browse/DRILL-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14804709#comment-14804709
] 

ASF GitHub Bot commented on DRILL-2583:
---------------------------------------

GitHub user sudheeshkatkam opened a pull request:

    https://github.com/apache/drill/pull/161

    DRILL-2583, DRILL-3428: Catch exceptions, and throw UserException#dat…

    …aReadError with more context
    
    + Added convenient method to UserException for String.format(...)
    
    @parthchandra please review.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sudheeshkatkam/drill DRILL-2583

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/161.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 #161
    
----
commit 247b30160fe7a5da0a2b3dae3f46749085188c53
Author: Sudheesh Katkam <skatkam@maprtech.com>
Date:   2015-09-17T23:48:31Z

    DRILL-2583, DRILL-3428: Catch exceptions, and throw UserException#dataReadError with more
context
    
    + Added convenient method to UserException for String.format(...)

----


> Querying a non-existent table from hbase should throw a proper error message
> ----------------------------------------------------------------------------
>
>                 Key: DRILL-2583
>                 URL: https://issues.apache.org/jira/browse/DRILL-2583
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - HBase
>    Affects Versions: 0.8.0
>            Reporter: Rahul Challapalli
>            Assignee: Sudheesh Katkam
>              Labels: error_message_must_fix
>             Fix For: 1.2.0
>
>
> git.commit.id.abbrev=4d398ed
> In the below case we should throw a proper error message
> {code}
> select count(*) from hbase.`non_existent_table`;
> Query failed: NullPointerException: 
> Error: exception while executing query: Failure while executing query. (state=,code=0)
> {code}
> We get the below error from DFS
> {code}
> Query failed: SqlValidatorException: Table 'dfs.fewtypes_null' not found
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message