-
- Downloads
[SPARK-20667][SQL][TESTS] Cleanup the cataloged metadata after completing the...
[SPARK-20667][SQL][TESTS] Cleanup the cataloged metadata after completing the package of sql/core and sql/hive ## What changes were proposed in this pull request? So far, we do not drop all the cataloged objects after each package. Sometimes, we might hit strange test case errors because the previous test suite did not drop the cataloged/temporary objects (tables/functions/database). At least, we can first clean up the environment when completing the package of `sql/core` and `sql/hive`. ## How was this patch tested? N/A Author: Xiao Li <gatorsmile@gmail.com> Closes #17908 from gatorsmile/reset.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala 2 additions, 1 deletion...rg/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
- sql/core/src/test/scala/org/apache/spark/sql/test/SharedSQLContext.scala 1 addition, 0 deletions...st/scala/org/apache/spark/sql/test/SharedSQLContext.scala
- sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala 1 addition, 6 deletions.../main/scala/org/apache/spark/sql/hive/test/TestHive.scala
Loading
Please register or sign in to comment