Skip to main content

computed_data

Function computed_data 

Source
pub fn computed_data(
    rows: &[RecordRowRef<'_>],
    kind: &str,
    computed: &BTreeMap<String, String>,
    now: &str,
) -> Vec<Option<Value>>
Expand description

VAPP-214 (Q3): the data of every row of kind with its computed fields written in (None for other kinds’ rows: they stay as they are). A field reads the row’s data and the row keys by name (a missing one = null); it never reads another computed field (the checker refuses it). A failing or unparsable expression reads null. Evaluated in UTC with the query’s now, like the query’s own buckets. Never stored.