GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/14259
[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, `NullPointerException` will be thrown.
## How was this patch tested?
Jenkins tests.
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
â¦d method is null.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 agg-empty-ds
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14259.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #14259
----
commit 1ba01e4b87c47d55e229325db9282180bd20ea74
Author: Liang-Chi Hsieh <[email protected]>
Date: 2016-07-19T08:31:45Z
Fix a bug in Invoke that would be failed when returned value of called
method is null.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]