GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/19787
[SPARK-22541][SQL] Explicitly claim that Python udfs can't be conditional
executed with short-curcuit evaluation
## What changes were proposed in this pull request?
Besides conditional expressions such as `when` and `if`, users may want to
conditionally execute python udfs by short-curcuit evaluation. We should also
explicitly note that python udfs don't support this kind of conditional
execution too.
## How was this patch tested?
N/A, just document change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 SPARK-22541
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19787.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 #19787
----
commit 3b69777924d0ac54bc4b6ec9c740cb20774bf033
Author: Liang-Chi Hsieh <[email protected]>
Date: 2017-11-20T07:13:32Z
Add document for udf.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]