aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/inst/tests
diff options
context:
space:
mode:
authorzero323 <zero323@users.noreply.github.com>2017-01-31 18:03:39 -0800
committerHolden Karau <holden@us.ibm.com>2017-01-31 18:03:39 -0800
commit9063835803e54538c94d95bbddcb4810dd7a1c55 (patch)
treed22369466eca165a1be27c44de96bef1ed9b8b3f /R/pkg/inst/tests
parent081b7addaf9560563af0ce25912972e91a78cee6 (diff)
downloadspark-9063835803e54538c94d95bbddcb4810dd7a1c55.tar.gz
spark-9063835803e54538c94d95bbddcb4810dd7a1c55.tar.bz2
spark-9063835803e54538c94d95bbddcb4810dd7a1c55.zip
[SPARK-19163][PYTHON][SQL] Delay _judf initialization to the __call__
## What changes were proposed in this pull request? Defer `UserDefinedFunction._judf` initialization to the first call. This prevents unintended `SparkSession` initialization. This allows users to define and import UDF without creating a context / session as a side effect. [SPARK-19163](https://issues.apache.org/jira/browse/SPARK-19163) ## How was this patch tested? Unit tests. Author: zero323 <zero323@users.noreply.github.com> Closes #16536 from zero323/SPARK-19163.
Diffstat (limited to 'R/pkg/inst/tests')
0 files changed, 0 insertions, 0 deletions