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

Array index not covered when index contains multiple keys referencing same field

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

       

      create index ix1_default on default(distinct arr1, to_number(c1), c1);
      explain select raw c1 from default where any v in arr1 satisfies v = 10 end and to_number(c1) < 10;
      

       
      This query is covered in 6.0.4 but no longer covered in 6.5.0 or above.

      Attachments

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

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            bingjie.miao Bingjie Miao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty