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

Gap in covering array indexes

    XMLWordPrintable

Details

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

    Description

      As Prasad Varakur found, this scenario has a gap in covering array index. cc Sitaram Vemulapalli

      CREATE INDEX isched_c
       ON `travel-sample`(DISTINCT ARRAY i.flight FOR i IN schedule END)
       WHERE (type = "route") ;
       
      EXPLAIN SELECT meta().id FROM `travel-sample` 
      USE INDEX(isched_c)
      WHERE ANY i IN schedule SATISFIES i.flight LIKE "UA%" END
       AND type = "route";
      

      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:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty