Invention Grant
- Patent Title: First/last aggregation operator on multiple keyfigures with a single table scan
-
Application No.: US14947627Application Date: 2015-11-20
-
Publication No.: US11023468B2Publication Date: 2021-06-01
- Inventor: Christoph Weyerhaeuser , Tobias Mindnich , Johannes Merx , Julian Schwing
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Mintz Levin Cohn Ferris Glovsky and Popeo, P.C.
- Main IPC: G06F16/24
- IPC: G06F16/24 ; G06F16/2455

Abstract:
Methods and apparatus, including computer program products, are provided for first and last aggregation. In one aspect, there is provided a method, which may include receiving, by a calculation engine, a query; detecting, by the calculation engine, whether the query includes a first aggregation and/or a last aggregation over at least one group and at least one keyfigure; optimizing the received query, when the detecting indicates the received query includes the first aggregation and/or the last aggregation, wherein the optimizing further comprises initiating execution of the received query by at least: performing a single read of a table, detecting, from the single table read, at least one group, and indicating, in the detected at least one group, the first aggregation in the at least one keyfigure and/or the last aggregation in the at least one keyfigure; and returning, for the at least one detected group, the indicated first aggregation and/or the indicated second aggregation. Related apparatus, systems, methods, and articles are also described.
Public/Granted literature
- US20170147636A1 FIRST/LAST AGGREGATION OPERATOR ON MULTIPLE KEYFIGURES WITH A SINGLE TABLE SCAN Public/Granted day:2017-05-25
Information query