-
公开(公告)号:US11481398B1
公开(公告)日:2022-10-25
申请号:US17116230
申请日:2020-12-09
Applicant: Databricks Inc.
Inventor: Alexander Behm , Ankur Dave , Ryan Deng , Shoumik Palkar
IPC: G06F16/2455 , G06F16/22
Abstract: A system for spilling comprises an interface and a processor. The interface is configured to receive an indication to perform a GROUP BY operation, wherein the indication comprises an input table and a grouping column. The processor is configured to: for each input table entry of the input table, determine a key, wherein the key is based at least in part on the input table entry and the grouping column; add the key to a grouping hash table, wherein adding the key to the grouping hash table comprises last-in, first-out (LIFO) spilling when necessary; create an output table based at least in part on the grouping hash table; and provide the output table.