diff --git a/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala index 2fd532d631d86..b2aba3ffac2f5 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/sources/BucketedWriteSuite.scala @@ -92,6 +92,11 @@ abstract class BucketedWriteSuite extends QueryTest with SQLTestUtils { def tableDir: File = { val identifier = spark.sessionState.sqlParser.parseTableIdentifier("bucketed_table") + val x = spark.sessionState.catalog.defaultTablePath(identifier) + val y = s"file:$x" + val z = URI.create(y) + println(s"tableDir $x,$y,$z") + new File(URI.create(s"file:${spark.sessionState.catalog.defaultTablePath(identifier)}")) }