Broaden definitions of transformations topcount and bottomcount

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • V4.0_CSD04
    • Affects Version/s: V4.0_CSD03
    • Component/s: Data Aggregation
    • None
    • Environment:

      Applied

    • Hide

      Replace current definitions by "[...] and MUST result in values of a primitive type whose values are totally ordered.".

      Show
      Replace current definitions by " [...] and MUST result in values of a primitive type whose values are totally ordered.".

      Definitions in section 3.2 and 3.6 state that the second parameter must result in a primitive numeric value. This is too restrictive, actually it is only required that there is a total ordering on these values.

      Consider, for example, getting the latest stock by product: $apply=groupby((Product),topcount(1,Date))

            Assignee:
            Unassigned
            Reporter:
            gerald.krause1
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: