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

Correctly sarg IN and WITHIN predicates when the RHS is not a static array

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • query
    • Untriaged
    • Unknown

    Description

      Currently, we only sarg IN predicates when the RHS is a small static array. In that case, we convert the IN to an OR.

      We should sarg all IN and WITHIN predicates, as shown by this forum posting:

      https://forums.couchbase.com/t/join-on-non-key-element/7784/2

      Attachments

        Activity

          People

            gerald Gerald Sangudi (Inactive)
            gerald Gerald Sangudi (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