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

[N1QL] test_unnest_covering_array_index fails:Difference in results seen while using a particular index.

    XMLWordPrintable

Details

    • Untriaged
    • Yes

    Description

      Query issued:
      SELECT t.email, r.`name` FROM default t UNNEST t.VMs AS r WHERE r.`name` = "vm_12"

      Indexes created:
      CREATE INDEX `idx4` ON `default`((all (array (`r`.`name`) for `r` in `VMs` end)),`email`)
      CREATE INDEX `by_VMs2` ON `default`((distinct (array (`r`.`name`) for `r` in `VMs` end)),`VMs`,`email`)

      The query gives different results when it used idx4 vs by_VMs2.
      This test has passed before .

      Assert which fails:
      https://github.com/couchbase/testrunner/blob/master/pytests/tuqquery/tuq_index.py#L206

      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)
              Prerna.Manaktala Prerna Manaktala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty