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

3.1.4: add example for from in aggregate() with multiple arguments

    XMLWordPrintable

    Details

    • Type: Bug
    • 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

      require that all explicitly mentioned "from" properties appear in the same order in all arguments

      Show
      require that all explicitly mentioned "from" properties appear in the same order in all arguments

      Description

      Explain how in aggregate() with multiple arguments the "from" keyword can be resolved into a groupby/aggregate sequence by initially grouping by all "from" properties appearing in any argument.

      Will probably work only if all "from" chains are compatible, i.e. there exists a "super-chain" so that any from chain is a sub-chain of this super-chain.

      1) from A from B from D,from A from C from D works with super-chain from A from B from C from D (B and C can be swapped to get another possible super-chain.

      2) from A from B, from B from A won't work

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: