aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Armbrust <michael@databricks.com>2015-11-06 17:22:30 -0800
committerReynold Xin <rxin@databricks.com>2015-11-06 17:22:30 -0800
commit105732dcc6b651b9779f4a5773a759c5b4fbd21d (patch)
treefa831b5c5c011d1880e06557a7e7c39abb1857f5 /python
parent1c80d66e52c0bcc4e5adda78b3d8e5bf55e4f128 (diff)
downloadspark-105732dcc6b651b9779f4a5773a759c5b4fbd21d.tar.gz
spark-105732dcc6b651b9779f4a5773a759c5b4fbd21d.tar.bz2
spark-105732dcc6b651b9779f4a5773a759c5b4fbd21d.zip
[HOTFIX] Fix python tests after #9527
#9527 missed updating the python tests. Author: Michael Armbrust <michael@databricks.com> Closes #9533 from marmbrus/hotfixTextValue.
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 97bd90c4db..927f407742 100644
--- a/python/pyspark/sql/readwriter.py
+++ b/python/pyspark/sql/readwriter.py
@@ -203,7 +203,7 @@ class DataFrameReader(object):
>>> df = sqlContext.read.text('python/test_support/sql/text-test.txt')
>>> df.collect()
- [Row(text=u'hello'), Row(text=u'this')]
+ [Row(value=u'hello'), Row(value=u'this')]
"""
return self._df(self._jreader.text(path))