Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87742

SBE stage builder can output unrequested 'time' field for TS collections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • Fully Compatible
    • ALL

      The SBE TS stage builder emits the 'time' field unconditionally. This can lead to later stages having access to the field even if it was projected out. For example,

      [
      {"$project": {"_id": 0, [metaFieldName]: 1}},
      {"$project": {"_id": 0, [timeFieldName]: 1}}
      ]
      

      This does not affect 7.2, 7.3, or any released version.

            Assignee:
            ian.boros@mongodb.com Ian Boros
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: