Aggregate the elements of each partition, and then the results for all the partitions
By Lauren O'Reilly at Apr 07 2020