forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-47137][PYTHON][CONNECT] Add getAll to spark.conf for feature p…
…arity with Scala ### What changes were proposed in this pull request? Adds `getAll` to `spark.conf` for feature parity with Scala. ```py >>> spark.conf.getAll {'spark.sql.warehouse.dir': ...} ``` ### Why are the changes needed? Scala API provides `spark.conf.getAll`; whereas Python doesn't. ```scala scala> spark.conf.getAll val res0: Map[String,String] = HashMap(spark.sql.warehouse.dir -> ... ``` ### Does this PR introduce _any_ user-facing change? Yes, `spark.conf.getAll` will be available in PySpark. ### How was this patch tested? Added the related tests. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45222 from ueshin/issues/SPARK-47137/getAll. Authored-by: Takuya UESHIN <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
- Loading branch information
1 parent
b90514c
commit 511839b
Showing
4 changed files
with
75 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters