Skip to content

Commit 7bab333

Browse files
committed
Fix typo in Spark SQL docs.
1 parent ab8177d commit 7bab333

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)