Skip to content

Commit

Permalink
update the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
clockfly committed May 18, 2016
1 parent feceb2b commit 2029f51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/sql-programming-guide.md
Expand Up @@ -1506,7 +1506,7 @@ people.printSchema()
// |-- age: long (nullable = true)
// |-- name: string (nullable = true)

// Register this DataFrame as a table.
// Creates a temporary view using the DataFrame
people.createOrReplaceTempView("people")

// SQL statements can be run by using the sql methods provided by sqlContext.
Expand Down
Expand Up @@ -130,7 +130,7 @@ public String call(Row row) {
// |-- age: IntegerType
// |-- name: StringType

// Creates a temporary view
// Creates a temporary view using the DataFrame
peopleFromJsonFile.createOrReplaceTempView("people");

// SQL statements can be run by using the sql methods provided by `spark`
Expand Down

0 comments on commit 2029f51

Please sign in to comment.