Module expand

Source

Structsยง

Expand
Expand expand one row multiple times according to column_subsets and also keep original columns of input. It can be used to implement distinct aggregation and group set.