imback82 commented on a change in pull request #26120: [SPARK-29014][SQL]
DataSourceV2: Fix current/default catalog usage
URL: https://github.com/apache/spark/pull/26120#discussion_r334896309
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/PlanResolutionSuite.scala
##########
@@ -96,6 +96,7 @@ class PlanResolutionSuite extends AnalysisTest {
throw new CatalogNotFoundException(s"No such catalog: $name")
}
})
+ when(manager.currentCatalog).thenReturn(testCat)
when(manager.defaultCatalog).thenReturn(Some(testCat))
Review comment:
I will clean this up when I restrict the access to default/session catalog
in `CatalogManager`. This is a temporary fix to check if all the tests are
passing.
----------------------------------------------------------------
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]