You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by fe...@apache.org on 2018/09/16 19:57:49 UTC
spark git commit: [MINOR][DOCS] Axe deprecated doc refs
Repository: spark
Updated Branches:
refs/heads/master bfcf74260 -> a1dd78255
[MINOR][DOCS] Axe deprecated doc refs
Continuation of #22370. Summary of discussion there:
There is some inconsistency in the R manual w.r.t. supercedent functions linking back to deprecated functions.
- `createOrReplaceTempView` and `createTable` both link back to functions which are deprecated (`registerTempTable` and `createExternalTable`, respectively)
- `sparkR.session` and `dropTempView` do _not_ link back to deprecated functions
This PR takes the view that it is preferable _not_ to link back to deprecated functions, and removes these references from `?createOrReplaceTempView` and `?createTable`.
As `registerTempTable` was included in the `SparkDataFrame functions` `family` of functions, other documentation pages which included a link to `?registerTempTable` will similarly be altered.
Author: Michael Chirico <mi...@grabtaxi.com>
Author: Michael Chirico <mi...@gmail.com>
Closes #22393 from MichaelChirico/axe_deprecated_doc_refs.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/a1dd7825
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a1dd7825
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a1dd7825
Branch: refs/heads/master
Commit: a1dd78255a3ae023820b2f245cd39f0c57a32fb1
Parents: bfcf742
Author: Michael Chirico <mi...@grabtaxi.com>
Authored: Sun Sep 16 12:57:44 2018 -0700
Committer: Felix Cheung <fe...@apache.org>
Committed: Sun Sep 16 12:57:44 2018 -0700
----------------------------------------------------------------------
R/pkg/R/DataFrame.R | 1 -
R/pkg/R/catalog.R | 1 -
2 files changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/a1dd7825/R/pkg/R/DataFrame.R
----------------------------------------------------------------------
diff --git a/R/pkg/R/DataFrame.R b/R/pkg/R/DataFrame.R
index 4f2d4c7..458deca 100644
--- a/R/pkg/R/DataFrame.R
+++ b/R/pkg/R/DataFrame.R
@@ -503,7 +503,6 @@ setMethod("createOrReplaceTempView",
#' @param x A SparkDataFrame
#' @param tableName A character vector containing the name of the table
#'
-#' @family SparkDataFrame functions
#' @seealso \link{createOrReplaceTempView}
#' @rdname registerTempTable-deprecated
#' @name registerTempTable
http://git-wip-us.apache.org/repos/asf/spark/blob/a1dd7825/R/pkg/R/catalog.R
----------------------------------------------------------------------
diff --git a/R/pkg/R/catalog.R b/R/pkg/R/catalog.R
index baf4d86..c2d0fc3 100644
--- a/R/pkg/R/catalog.R
+++ b/R/pkg/R/catalog.R
@@ -69,7 +69,6 @@ createExternalTable <- function(x, ...) {
#' @param ... additional named parameters as options for the data source.
#' @return A SparkDataFrame.
#' @rdname createTable
-#' @seealso \link{createExternalTable}
#' @examples
#'\dontrun{
#' sparkR.session()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org