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

[CX] Query gives error:SELECT CASE WHEN 1+1=3 THEN 7+7 WHEN 2+2=5 THEN 8+8 ELSE 2 END;

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • bug-backlog
    • CBAS DP
    • analytics
    • None
    • "build.date": "Fri Nov 04 16:55:37 PDT 2016",
       "build.number": "335",
       "build.version": "1.0.0-DP1",
    • Untriaged
    • No

    Description

      This is a regression from 303 build.
      Query run:
      SELECT CASE WHEN 1+1=3 THEN 7+7 WHEN 2+2=5 THEN 8+8 ELSE 2 END;

      Result:
      [

      { "code": "1", "msg": "No such file or directory", "query_from_user": "SELECT CASE WHEN 1+1=3 THEN 7+7 WHEN 2+2=5 THEN 8+8 ELSE 2 END;" }

      ]

      In 303 run the result was:
      {
      "requestID": "49c8bf8d-8dfc-4b61-96b8-09b363ab2df3",
      "signature": "*",
      "status": "success",
      "metrics":

      { "elapsedTime": "2.081021907s", "executionTime": "2.080513943s", "resultCount": "0", "resultSize": "0" }

      }
      ok

      Attachments

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

        Activity

          People

            till Till Westmann
            Prerna.Manaktala Prerna Manaktala (Inactive)
            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