1 / 16

OData Extensions for Data Aggregation

OData Extensions for Data Aggregation . Ralf Handl, SAP Hubert Heijkers, IBM Gerald Krause, SAP Mike Pizzo, Microsoft Martin Zurmühl, SAP 20 August 2013. Where do we want to go. Simple Composable Query Language. $apply= transformation / transformation / … Transformations Subset

coye
Download Presentation

OData Extensions for Data Aggregation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OData Extensions for Data Aggregation Ralf Handl, SAP Hubert Heijkers, IBM Gerald Krause, SAP Mike Pizzo, Microsoft Martin Zurmühl, SAP 20 August 2013

  2. Where do we want to go

  3. Simple Composable Query Language $apply= transformation/ transformation/ … Transformations Subset topcount(…), topsum(…), …, bottompercent(…), filter(…), identity Reshape aggregate(…), expand(…) Fork & Merge groupby(…, sequence) , concat(sequence, sequence, …) Custom Functions sequence

  4. GET ~/Sales

  5. GET ~/Sales?$apply=aggregate(Amount)

  6. GET ~/Sales?$apply=groupby((Product),aggregate(Amount))

  7. GET ~/Sales?$apply=groupby((Product),aggregate())

  8. GET ~/Sales?$apply=groupby((Product))

  9. GET ~/Sales?$apply=groupby((Product),aggregate(Amount)) &$orderby=Amount desc

  10. GET ~/Sales?$apply=groupby((Product),aggregate(Amount)) &$filter=Amount ge 8

  11. GET ~/Sales?$apply=filter(Amount ge8) /groupby((Product),aggregate(Amount))

  12. GET ~/Sales?$apply=groupby((Product),aggregate(Amount, Amount with max as MaxAmount))

  13. GET ~/Sales?$apply=groupby((Product), aggregate($count as SalesCount))

  14. GET ~/Sales?$apply=groupby((rollup(Country,Customer),rollup(Category,Product)), aggregate(Amount))

  15. GET ~/Sales?$apply=groupby((Product,Country),aggregate(Amount)) /groupby((Country),topcount(1,Amount))

  16. GET ~/Sales?$apply=groupby((Product,Country),aggregate(Amount)) /groupby((Country),M.TopCountAndBalance(N=1,A='Amount'))

More Related