You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jo...@apache.org on 2014/12/05 03:27:13 UTC

spark git commit: Fix typo in Spark SQL docs.

Repository: spark
Updated Branches:
  refs/heads/master ddfc09c36 -> 15cf3b012


Fix typo in Spark SQL docs.

Author: Andy Konwinski <an...@gmail.com>

Closes #3611 from andyk/patch-3 and squashes the following commits:

7bab333 [Andy Konwinski] Fix typo in Spark SQL docs.


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

Branch: refs/heads/master
Commit: 15cf3b0125fe238dea2ce13e703034ba7cef477f
Parents: ddfc09c
Author: Andy Konwinski <an...@gmail.com>
Authored: Thu Dec 4 18:27:02 2014 -0800
Committer: Josh Rosen <jo...@databricks.com>
Committed: Thu Dec 4 18:27:02 2014 -0800

----------------------------------------------------------------------
 docs/sql-programming-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/15cf3b01/docs/sql-programming-guide.md
----------------------------------------------------------------------
diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md
index 85d446b..be284fb 100644
--- a/docs/sql-programming-guide.md
+++ b/docs/sql-programming-guide.md
@@ -278,7 +278,7 @@ performed on JSON files.
 from pyspark.sql import SQLContext, Row
 sqlContext = SQLContext(sc)
 
-# Load a text file and convert each line to a dictionary.
+# Load a text file and convert each line to a Row.
 lines = sc.textFile("examples/src/main/resources/people.txt")
 parts = lines.map(lambda l: l.split(","))
 people = parts.map(lambda p: Row(name=p[0], age=int(p[1])))


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