Consider adding a parameter to nest aggregated columns: aggregate(under: String?)
koperagen opened this issue · 0 comments
koperagen commented
df.groupBy { key }.aggregate {
1 into "col"
}
schema:
key
col
df.groupBy { key }.aggregate(under = "statistics") {
1 into "col"
}
schema:
key
statistics:
col
Make sure it's consistent across other aggregate overloads (if makes sense)