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

Change 'output' to be 'input' in syntax for $firstN/$lastN/$minN/$maxN

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      QE 2021-11-15
    • Linked BF Score:
      135

      Description

      Currently, the exact top N operators have the following syntax:

      {$minN: {n: <expression for n>, output: <output expression>}}

      While this might make sense in the case of accumulators, this syntax is potentially confusing when the operators are used as expressions because the 'output' field is really the input to the expression. As such, we should consider modifying the syntax to disambiguate what is meant by the 'output' field.

        Attachments

          Activity

            People

            Assignee:
            mihai.andrei Mihai Andrei
            Reporter:
            mihai.andrei Mihai Andrei
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: