Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
imback82 committed Mar 9, 2021
1 parent b802a48 commit e0dcec2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -915,8 +915,8 @@ abstract class SQLViewSuite extends QueryTest with SQLTestUtils {
Seq(true, false).foreach { storeAnalyzed =>
withSQLConf(STORE_ANALYZED_PLAN_FOR_VIEW.key -> storeAnalyzed.toString) {
withGlobalTempView("v") {
val globalTempDB = spark.sharedState.globalTempViewManager.database
sql("CREATE GLOBAL TEMPORARY VIEW v AS SELECT 1")
val globalTempDB = spark.sharedState.globalTempViewManager.database
val globalTempView = spark.sessionState.catalog.getGlobalTempView("v")
globalTempView match {
case Some(v: View) if v.isTempView =>
Expand Down

0 comments on commit e0dcec2

Please sign in to comment.