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

[no sharding] support storing $unionWith in a view definition

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Query 2020-01-27, Query 2020-02-10, Query 2020-02-24

      It looks like there will be some C++ changes necessary to get this to work, along with some testing to confirm. I've attached a POC patch which is based of the one attached to SERVER-45452. It works, but has a strange use of expCtx->isParsingViewDefinition` which we should look into ways of avoiding.

        1. store_in_view.patch
          9 kB
          Charlie Swanson

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: