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

$unionWith doesn't support null pipelines

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-query Backlog - Query Team
            Reporter:
            varsha.subrahmanyam Varsha Subrahmanyam
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: