apache/spark — pull request #862 by ueshin (2014-05-23 11:27:27+00:00)
Title: [SPARK-1915] [SQL] AverageFunction should not count if the evaluated value is null.

Average values are difference between the calculation is done partially or not partially.
Because `AverageFunction` (in not-partially calculation) counts even if the evaluated value is null.