Method HiddenWindowAggregates(IEnumerable<string>, IReadOnlyList<AggregateRequest>)
Aggregates a grouped window sorts or partitions by without the selector computing them:
.WithWindow(w => w.OrderByDesc(g => Agg.Sum(g, e => e.Salary))) under a selector that
has no such Sum. Each is returned as a request with a private alias, to be computed inside
the grouping and left out of the result. Names the core writes as "Agg_Sum_Salary".
public static List<AggregateRequest> HiddenWindowAggregates(IEnumerable<string> windowFieldPaths, IReadOnlyList<AggregateRequest> aggregations)