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

Make it more convenient to switch on type of AccumulatorStatement

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query Execution 2021-06-28, Query Execution 2021-07-12

      At the moment there is no easy way to switch on the type of an AccumulationStatement. This is because the information about the true/runtime "type" of the accumulator is hidden inside a factory function.

      Before creating an SBE stage builder for accumulators we should make it convenient to do a visitor-like pattern on accumulators. We'll need to talk to QO to figure out the best way to do this.

            Assignee:
            andrii.dobroshynski@mongodb.com Andrii Dobroshynski (Inactive)
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: