Skip to content

Commit

Permalink
modify test case
Browse files Browse the repository at this point in the history
  • Loading branch information
windpiger committed Mar 3, 2017
1 parent e3a467e commit ae9938a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ object SPARK_19667_VERIFY_TABLE_PATH {
// the location when it's created.
assert(new Path(table1.location) != fs.makeQualified(
new Path(warehousePath, "not_default.db/t1")))
assert(!new File(s"$warehousePath/not_default.db/t1").exists())
assert(!new File(warehousePath.toString, "not_default.db/t1").exists())

spark.sql("CREATE TABLE t2(c string)")
val table2 = spark.sessionState.catalog.getTableMetadata(TableIdentifier("t2"))
Expand Down

0 comments on commit ae9938a

Please sign in to comment.