GitHub user icexelloss opened a pull request:

    https://github.com/apache/spark/pull/19630

    wip: Introduce function type argument in pandas_udf

    ## What changes were proposed in this pull request?
    
    * Add a "function type" argument to pandas_udf.
    * Refactor udf related code from pyspark.sql.functions to pyspark.sql.udf
    * Merge "PythonUdfType" and "PythonEvalType" into a single class 
"PythonEvalType"
    
    
    ## Design doc
    
https://docs.google.com/document/d/1KlLaa-xJ3oz28xlEJqXyCAHU3dwFYkFs_ixcUXrJNTc/edit
    
    ## How was this patch tested?
    
    Added PandasUDFTests
    
    ## TODO:
    * [ ] Implement proper enum type for `PandasUdfType`
    * [ ] Update documentation
    * [ ] Add more tests to PandasUDFTests


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/icexelloss/spark spark-22409-pandas-udf-type

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19630.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 #19630
    
----
commit a78a5e9849b62059c72cf2c87d79a6bee83316ff
Author: Li Jin <ice.xell...@gmail.com>
Date:   2017-11-01T16:50:19Z

    initial commit

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to