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

Query returns wrong results in partition index and order by

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.0.2, 6.5.0
    • 5.5.4, 6.0.0, 6.5.0
    • query
    • Untriaged
    • Unknown

    Description

      USE 2 indexer nodes
      insert into default values("k01",{"fname":"xyz", "geneder":"M", "lname":"abc","company":"pqr"});
      insert into default values("k02",{"fname":"xyz", "geneder":"M", "lname":"abc","company":"pqr"});
      CREATE INDEX ix1 ON default (fname,geneder,META().id,lname) PARTITION BY HASH(META().id);
      SELECT lname FROM default WHERE fname IS VALUED ORDER BY fname, geneder, META().id;
       
      laname values returned is META().id
      

      Attachments

        Issue Links

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

          Activity

            People

              mihir.kamdar Mihir Kamdar (Inactive)
              Sitaram.Vemulapalli Sitaram Vemulapalli
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty