Github user lw-lin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16736#discussion_r98592980
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/internal/SQLConfSuite.scala ---
    @@ -221,17 +221,8 @@ class SQLConfSuite extends QueryTest with 
SharedSQLContext {
           .sessionState.conf.warehousePath.stripSuffix("/"))
       }
     
    -  test("DATA_SOURCE_TABLE_RELATION_CACHE_MAX_SIZE") {
    -    
assert(spark.conf.get(SQLConf.DATA_SOURCE_TABLE_RELATION_CACHE_MAX_SIZE) === 
1000)
    -    withSQLConf(SQLConf.DATA_SOURCE_TABLE_RELATION_CACHE_MAX_SIZE.key -> 
"2000") {
    -      
assert(spark.conf.get(SQLConf.DATA_SOURCE_TABLE_RELATION_CACHE_MAX_SIZE) === 
2000)
    -    }
    -    val e = intercept[IllegalArgumentException] {
    -      
spark.conf.set(SQLConf.DATA_SOURCE_TABLE_RELATION_CACHE_MAX_SIZE.key, "-1")
    -    }
    -    Seq("maximum size", "must not be negative").foreach { words =>
    -      assert(e.getMessage.contains(words))
    -    }
    --- End diff --
    
    these were removed since the StaticConf entry wouldn't allow changing its 
default value


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to