apache/spark — pull request #902 by ueshin (2014-05-28 09:07:16+00:00)
Title: [SPARK-1947] [SQL] Child of SumDistinct or Average should be widened to prevent overflows the same as Sum.

Child of `SumDistinct` or `Average` should be widened to prevent overflows the same as `Sum`.