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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.12.0
    • Component/s: Functions - Drill
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: