GitHub user ueshin opened a pull request:

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

    [SPARK-25763][SQL][PYSPARK][TEST] Use more `@contextmanager` to ensure 
clean-up each test.

    ## What changes were proposed in this pull request?
    
    Currently each test in `SQLTest` in PySpark is not cleaned properly.
    We should introduce and use more `@contextmanager` to be convenient to 
clean up the context properly.
    
    ## How was this patch tested?
    
    Modified tests.


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

    $ git pull https://github.com/ueshin/apache-spark 
issues/SPARK-25763/cleanup_sqltests

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

    https://github.com/apache/spark/pull/22762.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 #22762
    
----
commit 9f7901b887f8fcd8e03a81e09548bd3525f3072e
Author: Takuya UESHIN <ueshin@...>
Date:   2018-10-18T09:24:46Z

    Use more `@contextmanager` to ensure clean-up each test.

----


---

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

Reply via email to