GitHub user BryanCutler opened a pull request:

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

    [SPARK-23700][PYTHON] Cleanup imports in pyspark.sql

    ## What changes were proposed in this pull request?
    
    This cleans up unused imports, mainly from pyspark.sql module.  Added a 
note in function.py that imports `UserDefinedFunction` only to maintain 
backwards compatibility for using `from pyspark.sql.function import 
UserDefinedFunction`. 
    
    ## How was this patch tested?
    
    Existing tests.


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

    $ git pull https://github.com/BryanCutler/spark 
pyspark-cleanup-imports-SPARK-23700

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

    https://github.com/apache/spark/pull/20892.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 #20892
    
----
commit 5da8c3d39cbbe8e78df2fad4c04d7a7ab1d9db9d
Author: Bryan Cutler <cutlerb@...>
Date:   2018-03-22T00:09:01Z

    tests passing

commit 5214f411d28a19b244a97ffe25f8be5852e273c1
Author: Bryan Cutler <cutlerb@...>
Date:   2018-03-23T18:25:28Z

    change note description

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to