Repository: spark
Updated Branches:
  refs/heads/branch-1.6 7f37c1e45 -> 1005ee396


[DOC] Adjust coverage for partitionBy()

This is the related thread: 
http://search-hadoop.com/m/q3RTtO3ReeJ1iF02&subj=Re+partitioning+json+data+in+spark

Michael suggested fixing the doc.

Please review.

Author: tedyu <yuzhih...@gmail.com>

Closes #10499 from ted-yu/master.

(cherry picked from commit 40d03960d79debdff5cef21997417c4f8a8ce2e9)
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/1005ee39
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1005ee39
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1005ee39

Branch: refs/heads/branch-1.6
Commit: 1005ee396f74dc4fcf127613b65e1abdb7f1934c
Parents: 7f37c1e
Author: tedyu <yuzhih...@gmail.com>
Authored: Mon Jan 4 12:38:04 2016 -0800
Committer: Michael Armbrust <mich...@databricks.com>
Committed: Mon Jan 4 12:38:19 2016 -0800

----------------------------------------------------------------------
 sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/1005ee39/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala 
b/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala
index 9f59c0f..9afa685 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala
@@ -119,7 +119,7 @@ final class DataFrameWriter private[sql](df: DataFrame) {
    * Partitions the output by the given columns on the file system. If 
specified, the output is
    * laid out on the file system similar to Hive's partitioning scheme.
    *
-   * This is only applicable for Parquet at the moment.
+   * This was initially applicable for Parquet but in 1.5+ covers JSON, text, 
ORC and avro as well.
    *
    * @since 1.4.0
    */


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

Reply via email to