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

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

     [ https://issues.apache.org/jira/browse/DRILL-7888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vova Vysotskyi resolved DRILL-7888.
-----------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/drill/commit/40460be6b958585982c3c7d2b7a35e89ccbfe34a

> 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
>            Priority: Major
>             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)