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

Query Tab in UI: SELECT meta().id not shown correctly in table view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • tools
    • 4.7.0-1581
    • Untriaged
    • Unknown

    Description

       

      Bucket default contains only 1 doc test as:

      {
      "b": [
      {
      "x": 5
      }
      ]
      }

       

      1. create this index: CREATE INDEX `iy` ON `default`((distinct (array (`v`.`x`) for `v` in `b` end)))
      2. Issue the query:  SELECT meta().id id1 FROM default WHERE ANY v IN b SATISFIES v.x < 10 END ;

      Result in json view is correct while table view doesnt look good.Attaching screenshots.

      Attachments

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

        Activity

          People

            eben Eben Haber
            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