Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1041

Broaden definitions of transformations topcount and bottomcount

    XMLWordPrintable

    Details

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

      Applied

    • Proposal:
      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.".

      Description

      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))

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gerald.krause1 Gerald Krause
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: