spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject spark git commit: [HOTFIX] Fix python tests after #9527
Date Sat, 07 Nov 2015 01:22:33 GMT
Repository: spark
Updated Branches:
  refs/heads/master 1c80d66e5 -> 105732dcc


[HOTFIX] Fix python tests after #9527

#9527 missed updating the python tests.

Author: Michael Armbrust <michael@databricks.com>

Closes #9533 from marmbrus/hotfixTextValue.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/105732dc
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/105732dc
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/105732dc

Branch: refs/heads/master
Commit: 105732dcc6b651b9779f4a5773a759c5b4fbd21d
Parents: 1c80d66
Author: Michael Armbrust <michael@databricks.com>
Authored: Fri Nov 6 17:22:30 2015 -0800
Committer: Reynold Xin <rxin@databricks.com>
Committed: Fri Nov 6 17:22:30 2015 -0800

----------------------------------------------------------------------
 python/pyspark/sql/readwriter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/105732dc/python/pyspark/sql/readwriter.py
----------------------------------------------------------------------
diff --git a/python/pyspark/sql/readwriter.py b/python/pyspark/sql/readwriter.py
index 97bd90c..927f407 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))
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message