seunggabi commented on code in PR #37478:
URL: https://github.com/apache/spark/pull/37478#discussion_r947031828
##########
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
yes. it is works!
this method is simple code.
but, I afraid another type of args into this (without boolean, long, string)
--
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]