Skip to content

Commit e57d23f

Browse files
committed
Update InsertIntoHiveTableSuite.scala
1 parent 802261c commit e57d23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertIntoHiveTableSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class InsertIntoHiveTableSuite extends QueryTest with BeforeAndAfter {
198198
val testDatawithNull = TestHive.sparkContext.parallelize(
199199
(1 to 10).map(i => ThreeCloumntable(i, i.toString,null))).toDF()
200200

201-
val tmpDir = Files.createTempDir()
201+
val tmpDir = File.createTempDir()
202202
sql(s"CREATE TABLE table_with_partition(key int,value string) PARTITIONED by (ds string) location '${tmpDir.toURI.toString}' ")
203203
sql("INSERT OVERWRITE TABLE table_with_partition partition (ds='1') SELECT key,value FROM testData")
204204

0 commit comments

Comments
 (0)