seunggabi commented on code in PR #37478:
URL: https://github.com/apache/spark/pull/37478#discussion_r947151059


##########
sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -854,11 +857,23 @@ object SparkSession extends Logging {
      *
      * @since 2.0.0
      */
+    @deprecated("use conf", "3.3.1")
     def config(key: String, value: Boolean): Builder = synchronized {
       options += key -> value.toString
       this
     }
 
+    /**
+     * Sets a config option. Options set using this method are automatically 
propagated to
+     * both `SparkConf` and SparkSession's own configuration.
+     *
+     * @since 3.3.1
+     */
+    def conf(key: String, value: Any): Builder = synchronized {

Review Comment:
   @srowen 
   I added test code. (java) 
https://github.com/apache/spark/pull/37478/commits/14b6fe1349ab477546a30e99449e7a8359bd3d3b
   
   we will check github workflows. (build - test)



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