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

indexing on UUID() returns the wrong error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • bug-backlog
    • 4.0.0
    • query
    • Security Level: Public
    • None
    • build 3508 ubuntu 12
    • Untriaged
    • Unknown

    Description

      cbq.exe> create index i4 on default1(a,UUID()) where type="n1ql";
      {
      "requestID": "68a0e8d0-4a75-49fb-9af1-542a17460b6d",
      "errors": [

      { "code": 3000, "msg": "Errors while parsing. - at )" }

      ],
      "status": "fatal",
      "metrics":

      { "elapsedTime": "1.4765ms", "executionTime": "1.3284ms", "resultCount": 0, "resultSize": 0, "errorCount": 1 }

      }

      expected: msg should say: "msg": "Expression not indexable: uuid() - at )"

      Attachments

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

        Activity

          People

            korrigan.clark Korrigan Clark (Inactive)
            cihan Cihan Biyikoglu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty