aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorYanbo Liang <ybliang8@gmail.com>2015-12-17 09:19:46 -0800
committerReynold Xin <rxin@databricks.com>2015-12-17 09:19:46 -0800
commit6e0771665b3c9330fc0a5b2c7740a796b4cd712e (patch)
treec3e5b38d8e307146a127fe68b89f66e05395c8ce /python
parenta170d34a1b309fecc76d1370063e0c4f44dc2142 (diff)
downloadspark-6e0771665b3c9330fc0a5b2c7740a796b4cd712e.tar.gz
spark-6e0771665b3c9330fc0a5b2c7740a796b4cd712e.tar.bz2
spark-6e0771665b3c9330fc0a5b2c7740a796b4cd712e.zip
[SQL] Update SQLContext.read.text doc
Since we rename the column name from ```text``` to ```value``` for DataFrame load by ```SQLContext.read.text```, we need to update doc. Author: Yanbo Liang <ybliang8@gmail.com> Closes #10349 from yanboliang/text-value.
Diffstat (limited to 'python')
-rw-r--r--python/pyspark/sql/readwriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pyspark/sql/readwriter.py b/python/pyspark/sql/readwriter.py
index 2e75f0c8a1..a3d7eca04b 100644
--- a/python/pyspark/sql/readwriter.py
+++ b/python/pyspark/sql/readwriter.py
@@ -207,7 +207,7 @@ class DataFrameReader(object):
@ignore_unicode_prefix
@since(1.6)
def text(self, paths):
- """Loads a text file and returns a [[DataFrame]] with a single string column named "text".
+ """Loads a text file and returns a [[DataFrame]] with a single string column named "value".
Each line in the text file is a new row in the resulting DataFrame.