Repository: spark Updated Branches: refs/heads/branch-1.3 3d545782e -> 54d92b542
[DOCS][SQL] Fix JDBC example Author: Michael Armbrust <mich...@databricks.com> Closes #5192 from marmbrus/fixJDBCDocs and squashes the following commits: b48a33d [Michael Armbrust] [DOCS][SQL] Fix JDBC example (cherry picked from commit aad00322765d6041e817a6bd3fcff2187d212057) Signed-off-by: Michael Armbrust <mich...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/54d92b54 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/54d92b54 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/54d92b54 Branch: refs/heads/branch-1.3 Commit: 54d92b5424705215b177c02665c163907c9c7de4 Parents: 3d54578 Author: Michael Armbrust <mich...@databricks.com> Authored: Thu Mar 26 14:51:46 2015 -0700 Committer: Michael Armbrust <mich...@databricks.com> Committed: Thu Mar 26 14:51:58 2015 -0700 ---------------------------------------------------------------------- docs/sql-programming-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/54d92b54/docs/sql-programming-guide.md ---------------------------------------------------------------------- diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index c99a0b0..4441d6a 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -1406,7 +1406,7 @@ DataFrame jdbcDF = sqlContext.load("jdbc", options) {% highlight python %} -df = sqlContext.load("jdbc", url="jdbc:postgresql:dbserver", dbtable="schema.tablename") +df = sqlContext.load(source="jdbc", url="jdbc:postgresql:dbserver", dbtable="schema.tablename") {% endhighlight %} --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org