You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Vova Vysotskyi (Jira)" <ji...@apache.org> on 2021/03/27 14:48:00 UTC

[jira] [Created] (DRILL-7888) query.json returns an incorrect error message when the query fails

Vova Vysotskyi created DRILL-7888:
-------------------------------------

             Summary: query.json returns an incorrect error message when the query fails
                 Key: DRILL-7888
                 URL: https://issues.apache.org/jira/browse/DRILL-7888
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.19.0
            Reporter: Vova Vysotskyi
            Assignee: Vova Vysotskyi
             Fix For: 1.19.0


When submitting a query that should fail to \{{query.json}} endpoint, it always returns the same response regardless of the actual failure reason:
{code:json}
{
    "errorMessage": "Current context not Array but root"
}
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)