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

    • Query Optimization

      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.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            24 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated: