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

Wider support for encrypted field references in aggregation

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

      Aside from basic equality, there are other spots in the aggregation grammar where a FLE-2 encrypted field could be referenced while giving correct query semantics.

      1. Non-equality accumulator reference ($first, $last)
      2. $push an encrypted field, but not $addToSet since it requires equality between randomly encrypted fields
      3. Renaming an encrypted field (in aggregate pipeline, not update/findAndModify)
      4. Branching/conditional expressions ($ifNull, $cond)

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: