In Spark 1.6, if a value is null, `getLong` will throw an exception. Before 1.6, it will return 0. With this PR, we will check if the result is null. If it is null, null will be returned instead of 0. Author: Yin Huai <yhuai@databricks.com> Closes #41 from yhuai/fixSumHash. |
||
|---|---|---|
| .. | ||
| notebooks | ||
| scala/com/databricks/spark/sql/perf | ||