Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2407

Sqlline-query from non-existing M7 or hbase table gives NPE instead of real error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.8.0
    • Fix Version/s: Future
    • Component/s: Storage - HBase
    • Labels:
      None

      Description

      git.commit.id=f658a3c513ddf7f2d1b0ad7aa1f3f65049a594fe

      "Select * " from non-existing tables from hbase fail with NPE:
      0: jdbc:drill:schema=hbase> select * from blah;
      Query failed: NullPointerException:

      Error: exception while executing query: Failure while executing query. (state=,code=0)

      This affect M7 tables. The server needs to return more clearer error similar to other storages such as "table x does not exist".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                knguyen Krystal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: