← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-1406) Clarify behavior of aggregate on property paths with collection-valued properties

From
OASIS Issues Tracker <>
Date
2020-10-27T15:34:45+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-1406) Clarify behavior of aggregate on property paths with collection-valued properties
Gerald Krause created ODATA-1406:
------------------------------------

             Summary: Clarify behavior of aggregate on property paths with collection-valued properties
                 Key: ODATA-1406
                 URL: https://issues.oasis-open.org/browse/ODATA-1406
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: Data Aggregation
    Affects Versions: V4.0_CSD03
         Environment: Proposed
            Reporter: Gerald Krause
             Fix For: V4.0_CSD04


Example 53 illustrates a use case for such property paths:
 {{GET ~/Products?$apply=}}
 {{groupby((Name),}}
 {{ÂÂÂÂÂÂÂÂ }}{{aggregate(Sales/Amount with sum as Total))}}

ODATA-1206 clarified that the aggregate transformation supports collection-valued navigation/complex properties in property paths.

What is still missing for a complete definition is a description of the service behavior for the aggregate transformation applied on paths containing segments with collection-valued properties.

â
 In section 3.1, extend the third paragraph (insertions surrounded by *):
 If paths are present, the corresponding navigation properties are implicitly expanded to make the properties part of the result representation. *For every collection-valued navigation or complex property in the path, the aggregate transformation considers the concatenated list of all instances identified by that property for the remainder of the path.*



--
This message was sent by Atlassian Jira
(v8.3.3#803004)
← Prev in month ← Prev in thread
Next in thread → Next in month →