Function mz_sqllogictest::runner::derive_num_attributes

source ·
fn derive_num_attributes(body: &SetExpr<Raw>) -> Option<usize>
Expand description

Analyzes the provided query body to derive the number of attributes in the query. We only consider syntactic cues, so we may end up deriving None for the number of attributes as a conservative approximation.