spark-instrumented-optimizer/sql/hive
Venkata Ramana Gollamudi ee569a0c71 [SPARK-5680][SQL] Sum function on all null values, should return zero
SELECT sum('a'), avg('a'), variance('a'), std('a') FROM src;
Should give output as
0.0	NULL	NULL	NULL
This fixes hive udaf_number_format.q

Author: Venkata Ramana G <ramana.gollamudihuawei.com>

Author: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com>

Closes #4466 from gvramana/sum_fix and squashes the following commits:

42e14d1 [Venkata Ramana Gollamudi] Added comments
39415c0 [Venkata Ramana Gollamudi] Handled the partitioned Sum expression scenario
df66515 [Venkata Ramana Gollamudi] code style fix
4be2606 [Venkata Ramana Gollamudi] Add udaf_number_format to whitelist and golden answer
330fd64 [Venkata Ramana Gollamudi] fix sum function for all null data
2015-03-21 13:24:24 -07:00
..
compatibility/src/test/scala/org/apache/spark/sql/hive/execution [SPARK-5680][SQL] Sum function on all null values, should return zero 2015-03-21 13:24:24 -07:00
src [SPARK-5680][SQL] Sum function on all null values, should return zero 2015-03-21 13:24:24 -07:00
v0.12.0/src/main/scala/org/apache/spark/sql/hive [SPARK-5166][SPARK-5247][SPARK-5258][SQL] API Cleanup / Documentation 2015-02-17 10:21:17 -08:00
v0.13.1/src/main/scala/org/apache/spark/sql/hive [SPARK-5166][SPARK-5247][SPARK-5258][SQL] API Cleanup / Documentation 2015-02-17 10:21:17 -08:00
pom.xml [SPARK-6371] [build] Update version to 1.4.0-SNAPSHOT. 2015-03-20 18:43:57 +00:00