Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-36230

Inconsistent formatting of syntax errors when using advise in QWB

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      A small improvement, but the current advise output in the QWB is a bit inconsistent when it comes to syntax errors.

      This query:
      select id from test where id is 5;

      Produces this on execution:

       

      [

      { "code": 3000, "msg": "syntax error - at 5", "query": "select id from test where id is 5;" }

      ]

      {java}

      But only produces this on advise:
      Error getting index advice, status: 400, syntax error - at 5

      I think this makes it a bit harder to diagnose

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            eben Eben Haber
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty