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

RAW projections should not produce value.missingValue values.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.0, Morpheus
    • query
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      Currently we produce value.missingValue values in RAW projections.  The issue with these are that when marshalled, they are marshalled as "null" since JSON doesn't have a missing value type (and when used in arrays we need to produce something as an element placeholder).

      This leads to potentially confusing results for statements such as:

      SELECT DISTINCT RAW ...

      where "null" may appear twice (one is an actual null and the other is missing).

      We can skip projecting missing values in RAW projections (in non-RAW projections we can/do represent missing with an empty/abridged container).

      Attachments

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

        Activity

          People

            Donald.haggart Donald Haggart
            Donald.haggart Donald Haggart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty