Skip to main content

expand_script_jobs

Function expand_script_jobs 

Source
pub fn expand_script_jobs(records: &[Value]) -> (Vec<Value>, Value)
Expand description

Job-history records with script jobs reduced to the real tables they read and wrote.

Statements of a BigQuery script write temporary tables later statements read; a record that reads or writes one is replaced by what the temporary table was built from. A script’s parent job with children is dropped; a script job with query text but no children is read with analyse_script. Returns (records, summary) with counts only.