Commit e80f18d
[SPARK-25763][SQL][PYSPARK][TEST] Use more
## 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.
Closes apache#22762 from ueshin/issues/SPARK-25763/cleanup_sqltests.
Authored-by: Takuya UESHIN <[email protected]>
Signed-off-by: hyukjinkwon <[email protected]>@contextmanager to ensure clean-up each test.1 parent 1117fc3 commit e80f18d
1 file changed
+318
-238
lines changed
0 commit comments