Can someone explain why one can't simply average the individual average results as the author wrote below: "" No, we can't run averages on worker nodes, and then average those out. We need to have each worker node compute their sum(order_value) and count(order_value), and then sum(sum()) / sum(count()) on the coordinator node. ""? Thank you.
Set 2 (5,7) = 6 average
Average of average (4,6) = 5
Average of Set 1 + Set 2 (5,4,3,5,7) = 4.8