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-1138) Facilitate processing of aggregated results created with concat

Gerald Krause created ODATA-1138:

             Summary: Facilitate processing of aggregated results created with concat
                 Key: ODATA-1138
                 URL: https://issues.oasis-open.org/browse/ODATA-1138
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: New Feature
          Components: Extension for Data Aggregation
    Affects Versions: V4.0_CSD03
         Environment: Proposed
            Reporter: Gerald Krause
             Fix For: V4.0_CSD04

The concat transformation creates a potentially heterogeneous result set consisting of entities with different structures.

The result is a contiguous list of entities without explicit boundaries to separate the result entities created by one concat parameter from the next. In case an OData client needs to know the concat parameter to which a result entity is related, it has to evaluate the result entities with the same or similar logic expressed in the request a second time.

Using the example from the Data Aggregation extension, consider a request to retrieve sales amounts grouped by customer for two different subsets of sales entities qualified by complex filter expressions:

GET ~/Sales?$apply=concat(
	  filter(<complex expression 1>)/groupby((Customer),aggregate(Amount with sum as Total)),
 	  filter(<complex expression 2>)/groupby((Customer),aggregate(Amount with sum as Total)))

Which is the last entity in the result collection that matches complex expression 1?

This message was sent by Atlassian JIRA

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