Skip to content

Commit 9b2ba11

Browse files
author
tianyi
committed
[SPARK-2817] fix the line length problem
1 parent 9f97586 commit 9b2ba11

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/TestHive.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,12 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
7070
set("hive.metastore.warehouse.dir", warehousePath)
7171
}
7272

73-
val testTmpDir = if (System.getProperty("user.dir").endsWith("sql" + File.separator + "hive")) {
73+
val testTmpDir = if (System.getProperty("user.dir").endsWith("sql" +
74+
File.separator + "hive")) {
7475
new File(System.getProperty("user.dir") + File.separator + "tmp")
7576
} else {
76-
new File(System.getProperty("user.dir") + File.separator + "sql" + File.separator + "hive" + File.separator + "tmp")
77+
new File(System.getProperty("user.dir") + File.separator + "sql" +
78+
File.separator + "hive" + File.separator + "tmp")
7779
}
7880

7981
configure() // Must be called before initializing the catalog below.

0 commit comments

Comments
 (0)