[jira] [Commented] (SPARK-8615) sql programming guide recommends deprecated code
[ https://issues.apache.org/jira/browse/SPARK-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602695#comment-14602695 ] Apache Spark commented on SPARK-8615: - User 'tijoparacka' has created a pull request for this issue: https://github.com/apache/spark/pull/7039 > sql programming guide recommends deprecated code > > > Key: SPARK-8615 > URL: https://issues.apache.org/jira/browse/SPARK-8615 > Project: Spark > Issue Type: Documentation > Components: Documentation >Affects Versions: 1.4.0 >Reporter: Gergely Svigruha >Priority: Minor > > The Spark 1.4 sql programming guide has an example code on how to use JDBC > tables: > https://spark.apache.org/docs/latest/sql-programming-guide.html#jdbc-to-other-databases > sqlContext.load("jdbc", Map(...)) > However this code complies with a warning, and recommends to do this: > sqlContext.read.format("jdbc").options(Map(...)).load() -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-8615) sql programming guide recommends deprecated code
[ https://issues.apache.org/jira/browse/SPARK-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600945#comment-14600945 ] Sean Owen commented on SPARK-8615: -- Sure, open a PR? > sql programming guide recommends deprecated code > > > Key: SPARK-8615 > URL: https://issues.apache.org/jira/browse/SPARK-8615 > Project: Spark > Issue Type: Documentation > Components: Documentation >Affects Versions: 1.4.0 >Reporter: Gergely Svigruha >Priority: Minor > > The Spark 1.4 sql programming guide has an example code on how to use JDBC > tables: > https://spark.apache.org/docs/latest/sql-programming-guide.html#jdbc-to-other-databases > sqlContext.load("jdbc", Map(...)) > However this code complies with a warning, and recommends to do this: > sqlContext.read.format("jdbc").options(Map(...)).load() -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org