Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-3564

SQL++ Query Join with alias returns incorrect result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 3.1.0
    • 3.1.0
    • Java, Java-Android
    • Security Level: Public
    • None
    • JAK 86
    • 1

    Description

       - Steps to Reproduce:  Create a test accordingly to API doc 8.11.5 with query string: 

      SELECT f.name, c.color FROM test.flowers as f JOIN test.colors as c ON f.cid = c.cid ORDER BY f.name

       - Actual Result: Result has one item {"color":"blue", "name":"hydrangea"}
       - Expected Result:

      {"color":"blue","name":"hydrangea"}

      {"color":"red","name":"rose"}

      Attachments

        Issue Links

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

          Activity

            People

              lauren.nguyen Lauren Nguyen (Inactive)
              lauren.nguyen Lauren Nguyen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty