aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/sql/conf.py
diff options
context:
space:
mode:
authorReynold Xin <rxin@databricks.com>2016-05-04 14:26:05 -0700
committerAndrew Or <andrew@databricks.com>2016-05-04 14:26:05 -0700
commit6ae9fc00ed6ef530a9c42c8407fc66fd873239cc (patch)
tree2840f93790368379eb0082cb4d26a084a2780957 /python/pyspark/sql/conf.py
parent0fd3a4748416233f034ec137d95f0a4c8712d396 (diff)
downloadspark-6ae9fc00ed6ef530a9c42c8407fc66fd873239cc.tar.gz
spark-6ae9fc00ed6ef530a9c42c8407fc66fd873239cc.tar.bz2
spark-6ae9fc00ed6ef530a9c42c8407fc66fd873239cc.zip
[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.
Diffstat (limited to 'python/pyspark/sql/conf.py')
-rw-r--r--python/pyspark/sql/conf.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/pyspark/sql/conf.py b/python/pyspark/sql/conf.py
index 7428c91991..609d882a95 100644
--- a/python/pyspark/sql/conf.py
+++ b/python/pyspark/sql/conf.py
@@ -23,7 +23,6 @@ class RuntimeConfig(object):
"""User-facing configuration API, accessible through `SparkSession.conf`.
Options set here are automatically propagated to the Hadoop configuration during I/O.
- This a thin wrapper around its Scala implementation org.apache.spark.sql.RuntimeConfig.
"""
def __init__(self, jconf):