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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • 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:
            3 Start watching this issue

              Created:
              Updated: