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

Implement schema propagation for $lookup stage in query analysis (FLE2 schemas)

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      The primary effort to implement the schema propagation for $lookup will be done in SERVER-96872

      The focus of this ticket is to ensure the schema propagation when dealing with FLE2 schemas correctly blocks (i.e returns errors), when unsupported workflows are requested. 

      For reference, the test cases that need to be covered are:

       

      In addition, the following constraints will need to be enforced as part of this change:

      • Test the following test cases with both CSFLE and QE schemas
        • Join fields are both encrypted -> Fail
        • Local join field encrypted/foreign join field unencrypted -> Fail
        • Local join field unencrypted/Foreign join field encrypted -> fail
        • No encrypted fields used as join field -> Succeed
      • Test that mixing CSFLE & QE schemas is not supported.

            Assignee:
            santiago.roche@mongodb.com Santiago Roche
            Reporter:
            santiago.roche@mongodb.com Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: