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-702) Define the behaviour of system query option $count and path segment /$count in combination with $apply


     [ https://issues.oasis-open.org/browse/ODATA-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Zurmuehl updated ODATA-702:
----------------------------------

    Proposal: Adapt 3.15 "Evaluating $apply" accordingly.

> Define the behaviour of system query option $count and path segment /$count in combination with $apply 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: ODATA-702
>                 URL: https://issues.oasis-open.org/browse/ODATA-702
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData Extension for Data Aggregation 
>    Affects Versions: V4.0_CSD01
>            Reporter: Martin Zurmuehl
>             Fix For: V4.0_CSD02
>
>
> Assume GET ~/Products/$count results in 100.
> Assume GET ~/Products?$apply=groupby((Name), aggregate(Sales/Amount with sum as Total)) results in a set with 4 entries (see example 50)
> What is the response for GET ~/Products/$count?$apply=groupby((Name), aggregate(Sales/Amount with sum as Total))?
> What is the value of @odata.count in the response for GET ~/Products/$count?$apply=groupby((Name), aggregate(Sales/Amount with sum as Total))&$count=true?
> My proposal is: in both cases 4.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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