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

Transformation for sorting entities created by a $apply transformation

    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

      Define transformation orderby that takes an expression also valid for the $orderby system query option and returns the entities of the input set in the same order $orderby would produce for the given expression.

      orderby expression of the orderby transformation conforms to same abnf as the system query option; minimal bar is property path expressions (which can include computed properties) with asc/desc.

      Show
      Define transformation orderby that takes an expression also valid for the $orderby system query option and returns the entities of the input set in the same order $orderby would produce for the given expression. orderby expression of the orderby transformation conforms to same abnf as the system query option; minimal bar is property path expressions (which can include computed properties) with asc/desc.

      Description

      Transformation concat allows to create result sets from the output sets of two or more transformation sequences passed to concat as arguments.

      If entities of just one of these sequences shall be sorted, or the output sets shall be sorted differently, this cannot be achieved with the system query option $orderby, which always operates on the entire set produced by $apply.

      This leads to the requirement for a dedicated orderby transformation. An example application is described in https://issues.oasis-open.org/browse/ODATA-1158.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: