OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [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)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]