You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2014/09/29 10:09:33 UTC

[jira] [Created] (DRILL-1463) Null pointer exception when running query against non-existent hbase table

Steven Phillips created DRILL-1463:
--------------------------------------

             Summary: Null pointer exception when running query against non-existent hbase table
                 Key: DRILL-1463
                 URL: https://issues.apache.org/jira/browse/DRILL-1463
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Steven Phillips


Try to query an hbase table that doesn't exist results in this error:

0: jdbc:drill:> select * from t limit 10;
Query failed: Failure while parsing sql. java.lang.NullPointerException [761bb60a-4895-4836-9050-540bf06beffe]

Error: exception while executing query: Failure while trying to get next result batch. (state=,code=0)

The table t does not exist. This query should fail with a message indicating that the table doesn't exist, like with filesystem tables:

0: jdbc:drill:> select * from dfs.not_a_file;
Query failed: Failure while parsing sql. Table 'dfs.not_a_file' not found [d7e6e5e6-7098-428c-99bd-40bed85c543f]



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