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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.19.0
    • 1.19.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: