HyukjinKwon commented on code in PR #49062:
URL: https://github.com/apache/spark/pull/49062#discussion_r1870461716


##########
sql/core/src/test/scala/org/apache/spark/sql/RuntimeConfigSuite.scala:
##########
@@ -108,4 +108,26 @@ class RuntimeConfigSuite extends SparkFunSuite {
     // this set should not fail
     conf.set(DEFAULT_PARALLELISM.key, "1")
   }
+
+  test("config entry") {
+    val conf = newConf()
+
+    val entry = SQLConf.FILES_MAX_PARTITION_NUM
+    assert(conf.get(entry.key) === null)

Review Comment:
   yeah, i think it should. `def get[T](entry: ConfigEntry[T]): T` isn't an API 
so I think we should be fine with changing this behaviour too.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to