-
- Downloads
[SPARK-15126][SQL] RuntimeConfig.set should return Unit
## What changes were proposed in this pull request? Currently we return RuntimeConfig itself to facilitate chaining. However, it makes the output in interactive environments (e.g. notebooks, scala repl) weird because it'd show the response of calling set as a RuntimeConfig itself. ## How was this patch tested? Updated unit tests. Author: Reynold Xin <rxin@databricks.com> Closes #12902 from rxin/SPARK-15126.
Showing
- python/pyspark/sql/conf.py 0 additions, 1 deletionpython/pyspark/sql/conf.py
- python/pyspark/sql/session.py 0 additions, 3 deletionspython/pyspark/sql/session.py
- sql/core/src/main/scala/org/apache/spark/sql/RuntimeConfig.scala 3 additions, 4 deletions...e/src/main/scala/org/apache/spark/sql/RuntimeConfig.scala
- sql/core/src/test/scala/org/apache/spark/sql/RuntimeConfigSuite.scala 8 additions, 8 deletions.../test/scala/org/apache/spark/sql/RuntimeConfigSuite.scala
Please register or sign in to comment