Skip to content

Commit 159489c

Browse files
committed
Address comment
1 parent d9d2564 commit 159489c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2475,9 +2475,9 @@ class SQLQuerySuite extends QueryTest with SharedSQLContext {
24752475

24762476
test("SPARK-16975: Column-partition path starting '_' should be handled correctly") {
24772477
withTempDir { dir =>
2478-
val parquetDir = new File(dir, "parquet").getCanonicalPath
2479-
spark.range(10).withColumn("_col", $"id").write.partitionBy("_col").save(parquetDir)
2480-
spark.read.load(parquetDir)
2478+
val dataDir = new File(dir, "data").getCanonicalPath
2479+
spark.range(10).withColumn("_col", $"id").write.partitionBy("_col").save(dataDir)
2480+
spark.read.load(dataDir)
24812481
}
24822482
}
24832483

0 commit comments

Comments
 (0)