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

order by nested projection implicit alias not covering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • bug-backlog
    • 6.5.1, Cheshire-Cat
    • query
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      create index ix10 on default(c1, addr.fname);
      EXPLAIN SELECT addr.fname
      FROM default
      WHERE c1 = 10
      ORDER BY fname;

      Above statement is not covering. Below is covering.

      EXPLAIN SELECT addr.fname AS fname
      FROM default
      WHERE c1 = 10
      ORDER BY fname;

      EXPLAIN SELECT addr.fname
      FROM default
      WHERE c1 = 10
      ORDER BY addr.fname;

      Attachments

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

        Activity

          People

            bingjie.miao Bingjie Miao
            Sitaram.Vemulapalli Sitaram Vemulapalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty