Skip to content

Commit 8ee2d18

Browse files
andykJoshRosen
authored andcommitted
Fix typo in Spark SQL docs.
Author: Andy Konwinski <[email protected]> Closes #3611 from andyk/patch-3 and squashes the following commits: 7bab333 [Andy Konwinski] Fix typo in Spark SQL docs. (cherry picked from commit 15cf3b0) Signed-off-by: Josh Rosen <[email protected]>
1 parent b09382a commit 8ee2d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sql-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ performed on JSON files.
278278
from pyspark.sql import SQLContext, Row
279279
sqlContext = SQLContext(sc)
280280

281-
# Load a text file and convert each line to a dictionary.
281+
# Load a text file and convert each line to a Row.
282282
lines = sc.textFile("examples/src/main/resources/people.txt")
283283
parts = lines.map(lambda l: l.split(","))
284284
people = parts.map(lambda p: Row(name=p[0], age=int(p[1])))

0 commit comments

Comments
 (0)