Skip to content

Commit

Permalink
Move the comments above for json.
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon committed Feb 26, 2016
1 parent a97a0a8 commit f82a2f4
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,12 @@ final class DataFrameWriter private[sql](df: DataFrame) {
* format("json").save(path)
* }}}
*
* You can set the following JSON-specific options for writing JSON files:
* <li>`compression` or `codec` (default `null`): compression codec to use when saving to file.
* This should be the fully qualified name of a class implementing
* [[org.apache.hadoop.io.compress.CompressionCodec]] or one of the known case-insensitive
* shorten names(`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
*
* @since 1.4.0
*/
def json(path: String): Unit = format("json").save(path)
Expand All @@ -464,12 +470,6 @@ final class DataFrameWriter private[sql](df: DataFrame) {
* format("parquet").save(path)
* }}}
*
* You can set the following JSON-specific options for writing JSON files:
* <li>`compression` or `codec` (default `null`): compression codec to use when saving to file.
* This should be the fully qualified name of a class implementing
* [[org.apache.hadoop.io.compress.CompressionCodec]] or one of the known case-insensitive
* shorten names(`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
*
* @since 1.4.0
*/
def parquet(path: String): Unit = format("parquet").save(path)
Expand Down

0 comments on commit f82a2f4

Please sign in to comment.