spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject spark git commit: [SPARK-12515][SQL][DOC] minor doc update for read.jdbc
Date Mon, 28 Dec 2015 10:22:09 GMT
Repository: spark
Updated Branches:
  refs/heads/master 9ab296ecd -> 5aa2710c1


[SPARK-12515][SQL][DOC] minor doc update for read.jdbc

Author: felixcheung <felixcheung_m@hotmail.com>

Closes #10465 from felixcheung/dfreaderjdbcdoc.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5aa2710c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5aa2710c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5aa2710c

Branch: refs/heads/master
Commit: 5aa2710c1e587c340a66ed36af75214aea85a97a
Parents: 9ab296e
Author: felixcheung <felixcheung_m@hotmail.com>
Authored: Mon Dec 28 10:22:45 2015 +0000
Committer: Sean Owen <sowen@cloudera.com>
Committed: Mon Dec 28 10:22:45 2015 +0000

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/DataFrameReader.scala     | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5aa2710c/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala b/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala
index c1a8f19..0acea95 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala
@@ -154,13 +154,14 @@ class DataFrameReader private[sql](sqlContext: SQLContext) extends Logging
{
    * Don't create too many partitions in parallel on a large cluster; otherwise Spark might
crash
    * your external database systems.
    *
-   * @param url JDBC database url of the form `jdbc:subprotocol:subname`
+   * @param url JDBC database url of the form `jdbc:subprotocol:subname`.
    * @param table Name of the table in the external database.
    * @param columnName the name of a column of integral type that will be used for partitioning.
-   * @param lowerBound the minimum value of `columnName` used to decide partition stride
-   * @param upperBound the maximum value of `columnName` used to decide partition stride
-   * @param numPartitions the number of partitions.  the range `minValue`-`maxValue` will
be split
-   *                      evenly into this many partitions
+   * @param lowerBound the minimum value of `columnName` used to decide partition stride.
+   * @param upperBound the maximum value of `columnName` used to decide partition stride.
+   * @param numPartitions the number of partitions. This, along with `lowerBound` (inclusive),
+   *                      `upperBound` (exclusive), form partition strides for generated
WHERE
+   *                      clause expressions used to split the column `columnName` evenly.
    * @param connectionProperties JDBC database connection arguments, a list of arbitrary
string
    *                             tag/value. Normally at least a "user" and "password" property
    *                             should be included.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message