US 11,880,381 B1
Notebooks with predictable behavior
Annissa Al-Alusi, Orinda, CA (US); Istvan Cseri, Seattle, WA (US); Yifung Lin, Los Altos, CA (US); Jue Liu, San Mateo, CA (US); Michael Joseph Papale, Seattle, WA (US); William A. Pugh, Seattle, WA (US); Jeffrey Shaw, San Francisco, CA (US); Wei Song, Bellevue, WA (US); and Thiago Teixeira, San Francisco, CA (US)
Assigned to Snowflake Inc., Bozeman, MT (US)
Filed by Snowflake Inc., Bozeman, MT (US)
Filed on Jul. 13, 2023, as Appl. No. 18/351,661.
Int. Cl. G06F 16/248 (2019.01); G06F 16/2453 (2019.01); G06F 16/2455 (2019.01)
CPC G06F 16/248 (2019.01) [G06F 16/24542 (2019.01); G06F 16/24568 (2019.01)] 27 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
receiving, by at least one processor, from a notebook User Interface (UI) application, a run cells message, the run cells message specifying a subset of cells of a set of cells of a notebook to run; and
for each cell in the subset of cells, performing operations comprising:
running, by the at least one processor, each cell to generate a set of results, the running comprising:
determining a dependency of each cell on a previous result of a preceding cell:
determining an availability of the previous result of the preceding cell;
in response to determining the previous result of the preceding cell is available, retrieving the result of the preceding cell; and
in response to determining the previous result of the preceding cell is not available, running the preceding cell to generate the previous result;
generating, by the at least one processor, a cell execution stream using the set of results;
storing, by the at least one processor, the cell execution stream; and
transmitting, by at least one processor, the cell execution stream to the notebook UI application, wherein the notebook UI application generates a display presented to a user using the cell execution stream.