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

Clarify impact of applying expand to subsequent transformations

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: V4.0_CSD03
    • Fix Version/s: V4.0_CSD04
    • Component/s: Data Aggregation
    • Labels:
      None
    • Environment:

      Proposed

    • Proposal:
      Hide

      1.

      Extend 3.12 Transformation expand, second para, with a statement about this effect (changes surrounded with *):

      The result set is the input set with the specified navigation property expanded according to the specified expand options. A transformation preceded by an expand transformation takes the transformation sequence in expand into consideration when evaluating property paths.

      --> to be rephrased with ODATA-1404 together
       

      2.

      Correct 3.10 Transformation groupby, point 1: Replace “Splits the initial set...” with “Splits the input set ...”

      Show
      1. Extend 3.12 Transformation expand , second para, with a statement about this effect (changes surrounded with *): The result set is the input set with the specified navigation property expanded according to the specified expand options. A transformation preceded by an expand transformation takes the transformation sequence in expand into consideration when evaluating property paths. --> to be rephrased with ODATA-1404 together   2. Correct 3.10 Transformation groupby , point 1: Replace “Splits the initial set...” with “Splits the input set ...”

      Description

      Property paths used in a $apply transformation by default may refer to any instances that can be directly or indirectly reached via navigation properties. They are all part of the input set of the transformation.

      A preceding expand transformation limits the input set to those navigation paths constructed from the navigation property given as first argument to expand, possibly nested several times, reaching target instances that match the given filter expression.

      From the current text this limitation does not become clear.

      Furthermore, groupby may follow an expand transformation. The definition of groupby currently refers to an “initial” set, and it should be clarified that this is actually the input set, e.g. the result of the preceding expand.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: