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

Error message must be updated when query fails with FileNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.9.0
    • Future
    • SQL Parser
    • exception branch

    Description

      When user specifies a non-existent file/directory in a query, the following error is being thrown:

      > show files from dfs.tmp.`tpch`;
      Query failed: SYSTEM ERROR: Failure handling SQL.
      [9184097e-8339-42d3-96ce-1fba51c6bc78 on 192.168.158.107:31010]
      Error: exception while executing query: Failure while executing query. (state=,code=0)
      

      This should be updated to

      > show files from dfs.tmp.`tpch`;
      Query failed: File /tmp/tpch does not exist. 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            agirish Abhishek Girish
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: