@@ -453,11 +453,9 @@ final class DataFrameWriter private[sql](df: DataFrame) {
453453 * format("json").save(path)
454454 * }}}
455455 *
456- * You can set the following JSON-specific options for writing JSON files:
457- * <li>`compression` or `codec` (default `null`): compression codec to use when saving to file.
458- * This should be the fully qualified name of a class implementing
459- * [[org.apache.hadoop.io.compress.CompressionCodec ]] or one of the known case-insensitive
460- * shorten names(`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
456+ * You can set the following JSON-specific option(s) for writing JSON files:
457+ * <li>`compression` (default `null`): compression codec to use when saving to file. This can be
458+ * one of the known case-insensitive shorten names (`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
461459 *
462460 * @since 1.4.0
463461 */
@@ -498,11 +496,9 @@ final class DataFrameWriter private[sql](df: DataFrame) {
498496 * df.write().text("/path/to/output")
499497 * }}}
500498 *
501- * You can set the following options for writing text files:
502- * <li>`compression` or `codec` (default `null`): compression codec to use when saving to file.
503- * This should be the fully qualified name of a class implementing
504- * [[org.apache.hadoop.io.compress.CompressionCodec ]] or one of the known case-insensitive
505- * shorten names(`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
499+ * You can set the following option(s) for writing text files:
500+ * <li>`compression` (default `null`): compression codec to use when saving to file. This can be
501+ * one of the known case-insensitive shorten names (`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
506502 *
507503 * @since 1.6.0
508504 */
@@ -515,11 +511,9 @@ final class DataFrameWriter private[sql](df: DataFrame) {
515511 * format("csv").save(path)
516512 * }}}
517513 *
518- * You can set the following CSV-specific options for writing CSV files:
519- * <li>`compression` or `codec` (default `null`): compression codec to use when saving to file.
520- * This should be the fully qualified name of a class implementing
521- * [[org.apache.hadoop.io.compress.CompressionCodec ]] or one of the known case-insensitive
522- * shorten names(`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
514+ * You can set the following CSV-specific option(s) for writing CSV files:
515+ * <li>`compression` (default `null`): compression codec to use when saving to file. This can be
516+ * one of the known case-insensitive shorten names (`bzip2`, `gzip`, `lz4`, and `snappy`). </li>
523517 *
524518 * @since 2.0.0
525519 */
0 commit comments