File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
sql/core/src/test/scala/org/apache/spark/sql/execution/command Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import org.apache.spark.sql.catalyst.analysis.TempTableAlreadyExistsException
3232import org .apache .spark .sql .catalyst .catalog ._
3333import org .apache .spark .sql .catalyst .catalog .CatalogTypes .TablePartitionSpec
3434import org .apache .spark .sql .catalyst .parser .ParseException
35- import org .apache .spark .sql .classic .ClassicConversions ._
3635import org .apache .spark .sql .connector .catalog .CatalogManager
3736import org .apache .spark .sql .connector .catalog .CatalogManager .SESSION_CATALOG_NAME
3837import org .apache .spark .sql .connector .catalog .SupportsNamespaces .PROP_OWNER
@@ -2235,7 +2234,7 @@ abstract class DDLSuite extends QueryTest with DDLSuiteBase {
22352234 // TODO(SPARK-50244): ADD JAR is inside `sql()` thus isolated. This will break an existing Hive
22362235 // use case (one session adds JARs and another session uses them). After we sort out the Hive
22372236 // isolation issue we will decide if the next assert should be wrapped inside `withResources`.
2238- spark.artifactManager.withResources {
2237+ spark.sessionState. artifactManager.withResources {
22392238 assert(new File (SparkFiles .get(s " ${directoryToAdd.getName}/ ${testFile.getName}" )).exists())
22402239 }
22412240 }
You can’t perform that action at this time.
0 commit comments