Efficient evaluation of query expressions including grouping clauses
Abstract
Techniques related to efficient evaluation of query expressions including grouping clauses are disclosed. Computing device(s) perform a method for aggregating a measure column vector (MCV) according to a plurality of grouping column vectors (GCVs). The MCV and each of the plurality of GCVs may be encoded. The method includes determining a plurality of actual grouping keys (AGKs) and generating a dense identifier (DI) mapping that maps the plurality of AGKs to a plurality of DIs. Each AGK occurs in the plurality of GCVs. Each DI corresponds to a respective workspace. Aggregating the MCV involves aggregating, in each workspace, one or more codes of the MCV that correspond to an AGK mapped to a DI corresponding to the workspace. For a first row of the MCV and the plurality of GCVs, aggregating the one or more codes includes generating a particular grouping key based on codes in the plurality of GCVs.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for aggregating a measure column vector according to a plurality of grouping column vectors, said measure column vector and each of said plurality of grouping column vectors being encoded column vectors, the method comprising: determining a plurality of actual grouping keys, each actual grouping key occurring in said plurality of grouping column vectors; generating a dense identifier mapping that maps said plurality of actual grouping keys to a plurality of dense identifiers, wherein said dense identifier mapping maps each actual grouping key of said plurality of actual grouping keys
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Chavan, U.S. Appl. No. 15/702,431, filed Sep. 12, 2017, Notice of Allowance, dated Jun. 12, 2020.
- Chavan, U.S. Appl. No. 15/702,526, filed Sep. 12, 2017, Notice of Allowance, dated May 21, 2020.
- Christian Lemke et al., "Speeding Up Quries in Column Stores A Case for Compression", dated Sep. 2, 2010, 13 pages.
- Chvan, U.S. Appl. No. 15/702,526, filed Sep. 12, 2017, Office Action, dated Aug. 30, 2019.
- KD Nuggets, "Apache Arrow and Apache Parquet: Why we Needed Different Projects for Columnar Data, on Disk and In-Memory", www.kdnuggets.com/2017/02/apache-arrow-parquet-columnar-data, Feb. 2017, 8pgs.