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

query.json returns an incorrect error message when the query fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.19.0
    • Fix Version/s: 1.19.0
    • Component/s: None
    • Labels:
      None

      Description

      When submitting a query that should fail to query.json endpoint, it always returns the same response regardless of the actual failure reason:

      {
          "errorMessage": "Current context not Array but root"
      }
      

        Attachments

          Activity

            People

            • Assignee:
              volodymyr Vova Vysotskyi
              Reporter:
              volodymyr Vova Vysotskyi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: