datafusion_expr::utils

Function grouping_set_to_exprlist

Source
pub fn grouping_set_to_exprlist(group_expr: &[Expr]) -> Result<Vec<&Expr>>
Expand description

Find all distinct exprs in a list of group by expressions. If the first element is a GroupingSet expression then it must be the only expr.