[Change Streams] Make updatedFields queryable for dot-notated fields

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.6.2
    • Component/s: Querying
    • None
    • Query
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Can we get a fix in the Change Streams generation engine generate updatedFields that are NOT dot-notated?

      For instance, instead of

      updatedFields: { 'device.temperature': 70}
      

      it would be nice if we could decompose the dot-notated 'device.temperature' string into:

      updatedFields: { device: {temperature: 70}}
      

      This is related to SERVER-21889.

      I know this might affect the performance of change streams but without that improvement, the use of change streams might turn out to be limited (and restricted to inserts and top-level attributes updates)

              Assignee:
              Backlog - Query Team (Inactive)
              Reporter:
              Raphael Londner
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: