diff options
author | Liang-Chi Hsieh <simonh@tw.ibm.com> | 2016-07-23 10:27:16 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-07-23 10:27:16 +0800 |
commit | e10b8741d86a0a625d28bcb1c654736a260be85e (patch) | |
tree | 61c33b519258245ac269c10157497415eef7859b /dev/lint-scala | |
parent | 47f5b88db4d65f1870b16745d3c93d01051ba20b (diff) | |
download | spark-e10b8741d86a0a625d28bcb1c654736a260be85e.tar.gz spark-e10b8741d86a0a625d28bcb1c654736a260be85e.tar.bz2 spark-e10b8741d86a0a625d28bcb1c654736a260be85e.zip |
[SPARK-16622][SQL] Fix NullPointerException when the returned value of the called method in Invoke is null
## What changes were proposed in this pull request?
Currently we don't check the value returned by called method in `Invoke`. When the returned value is null and is assigned to a variable of primitive type, `NullPointerException` will be thrown.
## How was this patch tested?
Jenkins tests.
Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
Closes #14259 from viirya/agg-empty-ds.
Diffstat (limited to 'dev/lint-scala')
0 files changed, 0 insertions, 0 deletions