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

Need better error message for table function when table does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.12.0
    • Functions - Drill
    • None

    Description

      Need user friendly error for table function when specified table does not exists. Example as shown below:

      select * from table(`drill-3149/blah.txt`(type=>'text', lineDelimiter=>'\r\n'));

      Error: VALIDATION ERROR: null

      SQL Query null

      [Error Id: 6a021d48-bbec-4617-9b53-94bc116dce76]

      (java.lang.NullPointerException) null
      org.apache.drill.exec.planner.logical.DrillTranslatableTable.getRowType():49
      org.apache.calcite.sql.validate.ProcedureNamespace.validateImpl():68
      .
      .
      .

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: