HyukjinKwon opened a new pull request, #37642:
URL: https://github.com/apache/spark/pull/37642

   ### What changes were proposed in this pull request?
   
   This PR adds the dictionary support in `SparkSession.config`, see also 
SPARK-40163
   
   ### Why are the changes needed?
   
   For API parity w/ Scala side.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. After this change, users can pass a dictionary as below:
   
   ```python
   >>> SparkSession.builder.config(
   ...     map={"spark.some.config.number": 123, "spark.some.config.float": 
0.123})
   ```
   
   ### How was this patch tested?
   
   Manually tested, and doctest was added.


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