Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/22466#discussion_r222855237 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala --- @@ -407,6 +407,7 @@ abstract class DDLSuite extends QueryTest with SQLTestUtils { test("create a managed table with the existing non-empty directory") { withTable("tab1") { + Utils.createDirectory(spark.sessionState.conf.warehousePath) --- End diff -- Why do we need to create the directory first?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org