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

Bug in creating arrays from ranging over objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.2, 5.0.0
    • 4.6.0
    • query
    • None
    • Untriaged
    • Yes

    Description

      To produce an array by ranging over an object, this is the desired query and results. Worked previously.

      cbq> select array j for i:j in {"a":1, "b":2} end;
      {
          "requestID": "83935621-2f06-4575-9d8d-9c3e43c1ad0d",
          "signature": {
              "$1": "array"
          },
          "results": [
              {
                  "$1": [
                      1,
                      2
                  ]
              }
          ],
          "status": "success",
          "metrics": {
              "elapsedTime": "1.405369ms",
              "executionTime": "1.384346ms",
              "resultCount": 1,
              "resultSize": 82
          }
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              Prerna.Manaktala Prerna Manaktala (Inactive)
              gerald Gerald Sangudi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty