Skip to content

Commit 005a7f8

Browse files
author
Anselme Vignon
committed
added test cleanup
1 parent 22cec52 commit 005a7f8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/parquet/parquetSuites.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,14 @@ abstract class ParquetTest extends QueryTest with BeforeAndAfterAll {
256256

257257
}
258258

259+
override def afterAll(): Unit = {
260+
//delete temporary files
261+
partitionedTableDir.delete()
262+
partitionedTableDirWithKey.delete()
263+
partitionedTableDirWithKeyAndComplexTypes.delete()
264+
partitionedTableDirWithComplexTypes.delete()
265+
}
266+
259267
Seq("partitioned_parquet", "partitioned_parquet_with_key", "partitioned_parquet_with_key_and_complextypes","partitioned_parquet_with_complextypes").foreach { table =>
260268
test(s"ordering of the partitioning columns $table") {
261269
checkAnswer(

0 commit comments

Comments
 (0)