Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/16013#discussion_r89727120 --- Diff: core/src/main/scala/org/apache/spark/rdd/JdbcRDD.scala --- @@ -41,9 +41,9 @@ private[spark] class JdbcPartition(idx: Int, val lower: Long, val upper: Long) e * The RDD takes care of closing the connection. * @param sql the text of the query. * The query must contain two ? placeholders for parameters used to partition the results. - * + * For example, * {{{ - * E.g. "select title, author from books where ? <= id and id <= ?" + * select title, author from books where ? <= id and id <= ? * }}} --- End diff -- - Java ![2016-11-28 2 21 59](https://cloud.githubusercontent.com/assets/6477701/20657043/29e4d314-b576-11e6-9946-fc6502920d4b.png) - Scala ![2016-11-28 2 22 34](https://cloud.githubusercontent.com/assets/6477701/20657044/29eaa686-b576-11e6-86cd-c0fcb9449e0f.png)
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org