Add additional projection stage to sample generation to keep specific set of fields in sample.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently the sampling CE module has been creating a vector of BSONObj that keep all fields of the underlying collection.
      To improve performance of MatchExpression evaluation for sampling CE, this ticket will reduce the size of the created BSONObjs in the sample by projecting out a set of fields.
      This requires injecting one more stage in the SBE query generating the sample.

              Assignee:
              Naafiyan Ahmed
              Reporter:
              Matt Olma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: