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

Array Index and OR clause may not cover the query

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 4.6.4, 5.0.0, 5.5.0
    • query
    • None
    • Untriaged
    • Unknown

    Description

      CREATE INDEX ix1 ON default( DISTINCT a1, c1);
      EXPLAIN SELECT META().id FROM default WHERE ANY v IN a1 SATISFIES v = 5 END AND (c1 =15 OR c1 = 20); is not covered

      If there is no OR clause it is covered.

      Attachments

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

        Activity

          People

            ajay.bhullar Ajay Bhullar
            Sitaram.Vemulapalli Sitaram Vemulapalli
            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