HyukjinKwon commented on a change in pull request #32797:
URL: https://github.com/apache/spark/pull/32797#discussion_r646267283
##########
File path: R/pkg/R/DataFrame.R
##########
@@ -883,6 +883,9 @@ setMethod("toJSON",
#' Save the contents of a SparkDataFrame as a JSON file
(\href{https://jsonlines.org/}{
#' JSON Lines text format or newline-delimited JSON}). Files written out
#' with this method can be read back in as a SparkDataFrame using read.json().
+#' You can find the JSON-specific options for writing JSON files in
+#'
\href{https://spark.apache.org/docs/latest/sql-data-sources-json.html#data-source-option}{
+#' Data Source Option} in the version you use.
Review comment:
I think this should go to `@param ... additional argument(s) passed to
the method.` below
##########
File path: R/pkg/R/DataFrame.R
##########
@@ -914,6 +917,9 @@ setMethod("write.json",
#'
#' Save the contents of a SparkDataFrame as an ORC file, preserving the
schema. Files written out
#' with this method can be read back in as a SparkDataFrame using read.orc().
+#' You can find the ORC-specific options for writing ORC files in
+#'
\href{https://spark.apache.org/docs/latest/sql-data-sources-orc.html#data-source-option}{
+#' Data Source Option} in the version you use.
Review comment:
this too
##########
File path: R/pkg/R/DataFrame.R
##########
@@ -945,6 +951,9 @@ setMethod("write.orc",
#'
#' Save the contents of a SparkDataFrame as a Parquet file, preserving the
schema. Files written out
#' with this method can be read back in as a SparkDataFrame using
read.parquet().
+#' You can find the Parquet-specific options for writing Parquet files in
+#'
\href{https://spark.apache.org/docs/latest/sql-data-sources-parquet.html#data-source-option}{
+#' Data Source Option} in the version you use.
Review comment:
this too
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]