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

[FLE] with encryption on collection and $lookup with two non-encrypted collections fails

    XMLWordPrintable

    Details

      Description

      if you perform an aggregation pipeline $lookup from a MongoClient with encryption, where both of collections involved are not encrypted you'll get Pipeline over an encrypted collection cannot reference additional collections 

      For example, encrypted collection A, non-encrypted collection B and C and you have pipeline from B : [\{$lookup:{from:"C", localField:"Foo", foreignField:"Bar", as:"Baz"}}] you still get the error above.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-optimization Backlog - Query Optimization
              Reporter:
              asya Asya Kamsky
              Participants:
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated: