Expr.aggSpec
Converts this expression (through alias chains) to the eager aggregation specification it maps to: the aggregation's kind, parameter and column, with the outermost alias label as the output name. The lazy grouping layer builds its plan from these, so a lazy agg names its output exactly like the eager GroupBy.agg (the column name, or the alias label).
Parameters
spec | set to the specification when this is an aggregation |
Returns
whether the conversion applied.