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

$unionWith doesn't support null pipelines

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

      Mongoast considers the following syntaxes to be equivalent:

      { $unionWith: "foo" }
      { $unionWith: { coll: "foo" }}
      { $unionWith: { coll: "foo", pipeline: null } }
      

      The third case is currently unsupported by the server, though, because null pipelines are not allowed.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            varsha.subrahmanyam@mongodb.com Varsha Subrahmanyam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: