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

Make it more convenient to switch on type of AccumulatorStatement

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Query Execution 2021-06-28, Query Execution 2021-07-12

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: