Function datafusion_expr::utils::grouping_set_expr_count
source · pub fn grouping_set_expr_count(group_expr: &[Expr]) -> Result<usize>
Expand description
Count the number of distinct exprs in a list of group by expressions. If the
first element is a GroupingSet
expression then it must be the only expr.