GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/20123
[SPARK-22931] [PySpark] [SQL] Add deterministic parameter to
registerFunction
## What changes were proposed in this pull request?
To register a Python UDF for SQL interface, users are unable to specify the
UDF is not deterministic. This PR is to change the API and add such a support.
## How was this patch tested?
Added test cases
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark commentUpdates4RegisterUDF
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20123.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 #20123
----
commit 04285ca8f6a826dea46059fbed9299e44acaf172
Author: gatorsmile <gatorsmile@...>
Date: 2017-12-31T02:57:11Z
add deterministic to registerFunction
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]