Github user sameeragarwal commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20218#discussion_r160816667
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveMetastoreCatalogSuite.scala
 ---
    @@ -148,6 +148,7 @@ class DataSourceWithHiveMetastoreCatalogSuite
     
       override def beforeAll(): Unit = {
         super.beforeAll()
    +    sparkSession.sessionState.catalog.reset()
    --- End diff --
    
    Hey Xiao, I was curious as to why this would reduce flakiness given that 
https://github.com/apache/spark/pull/20196 didn't help. Assuming something is 
changing the current database before/during test execution, how about we just 
use qualified database + table names here instead (i.e., 
`saveAsTable("default.t")` and `CREATE TABLE default.t USING ...`)?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to