Consider making the $redact stage a single document transformation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Some stages like $project and $replaceRoot are internally replaced with DocumentSourceSingleDocumentTransformation stage.
      It might be interesting to for the $redact stage to follow the same practice, because in some cases it behaves similarly to DocumentSourceSingleDocumentTransformation/

      For details, please see the related issue SERVER-85848.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: