ExpressionFromRankAccumulator::parse uassert always says (None) for accumulator name

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QI 2023-09-04, QI 2023-09-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      uassert 5371603 in ExpressionFromRankAccumulator::parse uses accumulatorName as a part of the error message, but accumulatorName is not set until the following line. This causes the message to always say that the accumulator name is "(None)". We can either use argName in the error message or swap the order of these two lines.

            Assignee:
            Erin Zhu
            Reporter:
            Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: