brkyvz commented on a change in pull request #25368: [SPARK-28635][SQL] create
CatalogManager to track registered v2 catalogs
URL: https://github.com/apache/spark/pull/25368#discussion_r312664500
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/sources/v2/DataSourceV2SQLSuite.scala
##########
@@ -459,18 +460,16 @@ class DataSourceV2SQLSuite extends QueryTest with
SharedSQLContext with BeforeAn
}
test("CreateTableAsSelect: use default catalog for v2 sources when default
catalog is set") {
- val sparkSession = spark.newSession()
- sparkSession.conf.set("spark.sql.catalog.testcat",
classOf[TestInMemoryTableCatalog].getName)
- sparkSession.conf.set("spark.sql.default.catalog", "testcat")
+ spark.conf.set("spark.sql.default.catalog", "testcat")
Review comment:
ditto
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]