Paul Rogers created DRILL-6509:
----------------------------------

             Summary: In web console, failed queries report "No result found."
                 Key: DRILL-6509
                 URL: https://issues.apache.org/jira/browse/DRILL-6509
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.14.0
            Reporter: Paul Rogers


The web console, query result page appears to have been modified recently. (It 
now contains a handy link to the query profile.) But, the page no longer 
handles failed queries.

Using the web console, enter an invalid query. In this case, introducing a 
deliberate typo in the example query:

{code}
SELECT * FROM cp.`employee.json` LIMT 20
{code}

Note the misspelled "LIMT".

The query results page appears with the message: "No result found."

This sounds like the file existed, but was empty. Looking in the logs revealed 
that, in fact, the query failed. Look in the Error tab on the query profile:

{code}
PARSE ERROR: Encountered "20" at line 1, column 39.
Was expecting one of:
    <EOF> 
...
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to