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

Make it more convenient to switch on type of AccumulatorStatement

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      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

              Assignee:
              andrii.dobroshynski Andrii Dobroshynski
              Reporter:
              ian.boros Ian Boros
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: