US 12,147,445 B1
Notebooks with cached results
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 Nov. 28, 2023, as Appl. No. 18/521,027.
Application 18/521,027 is a continuation of application No. 18/351,661, filed on Jul. 13, 2023, granted, now 11,880,381.
This patent is subject to a terminal disclaimer.
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 machine-implemented method comprising:
maintaining document state data for a notebook comprising cell code and metadata;
maintaining execution state data for the notebook comprising previous run results;
receiving a cell run request for the notebook;
generating an execution stream by running a cell of the notebook;
updating the execution state data with the execution stream;
generating a content hash for the document state data;
generating an execution hash for the updated execution state data the execution hash comprising information identifying content and run of a preceding cell of the notebook that the cell depends on; and
using the content hash and execution hash to determine staleness of results of a notebook UI application.