Staged query compilation with common data structure
AssigneeSap SE
InventorsJaehyok Chong, Won Jun Chang, Sungguk Lim, Youngbin Bok, Heesik Shin, Kijoong Kim
Life of this patent
Estimating the term…
Loading patent…
AssigneeSap SE
InventorsJaehyok Chong, Won Jun Chang, Sungguk Lim, Youngbin Bok, Heesik Shin, Kijoong Kim
Estimating the term…
Methods and apparatus are disclosed for staged query compilation. One or more intermediate plans between a query and its execution plan are stored according to a common specification for plan data structures. Data sources, a plan flow, and annotations can be stored in respective fields of the plan data structure, which can be extended with a field for a serialized execution plan. Plan data structures provide a stable interface for integration of local and external software modules, and decouple plan representation from plan optimization. Use cases are disclosed for integrating offline optimization with inline software modules, for integrating local query handling with external services, for caching intermediate plans, and for archiving plans across version changes of optimizers. A hub architecture flexibly supports numerous compilation workflows. Disclosed technologies are suitable for cloud deployments and for migration of databases into the cloud.
A computer-implemented method for compiling a query, wherein the query is a declarative database query, the method comprising:
A system for query compilation comprising:
One or more computer-readable media storing program instructions for query compilation, executable by one or more hardware processors, the program instructions comprising:
Dependencies are inferred from the claim text.