US 11,921,733 B2
Fetching query result data using result batches
Harsha S. Kapre, San Mateo, CA (US); Mark T. Keller, San Mateo, CA (US); Srinath Shankar, Belmont, CA (US); and Kushan A. Zaveri, North York (CA)
Assigned to Snowflake Inc., Bozeman, MT (US)
Filed by Snowflake Inc., Bozeman, MT (US)
Filed on Jul. 20, 2022, as Appl. No. 17/813,662.
Application 17/813,662 is a continuation of application No. 17/501,992, filed on Oct. 14, 2021, granted, now 11,449,520.
Prior Publication US 2023/0117449 A1, Apr. 20, 2023
Int. Cl. G06F 16/2458 (2019.01); G06F 16/2453 (2019.01); G06F 16/2455 (2019.01); G06F 16/25 (2019.01)
CPC G06F 16/2471 (2019.01) [G06F 16/24532 (2019.01); G06F 16/24561 (2019.01); G06F 16/256 (2019.01); G06F 16/258 (2019.01)] 30 Claims
OG exemplary drawing
 
1. A system comprising:
at least one hardware processor; and
at least one memory storing instructions that cause the at least one hardware processor to perform operations comprising:
generating a plurality of result batches based on query result information, the query result information associated with query result data generated from execution of a query, and each result batch of the plurality of result batches comprising a result data retrieval function for a corresponding data portion of a plurality of data portions of the query result data, the plurality of data portions being available at a corresponding plurality of stages of the execution of the query;
encode the plurality of result batches for distribution to a corresponding plurality of computing nodes; and
causing retrieving of the plurality of data portions of the query result data by the corresponding plurality of computing nodes based on the result data retrieval function for each of the plurality of data portions.