Repository: spark
Updated Branches:
  refs/heads/branch-2.4 60af706b4 -> 1cb1e4301


[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 <michael.chir...@grabtaxi.com>
Author: Michael Chirico <michaelchiri...@gmail.com>

Closes #22393 from MichaelChirico/axe_deprecated_doc_refs.

(cherry picked from commit a1dd78255a3ae023820b2f245cd39f0c57a32fb1)
Signed-off-by: Felix Cheung <felixche...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1cb1e430
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1cb1e430
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1cb1e430

Branch: refs/heads/branch-2.4
Commit: 1cb1e43012e57e649d77524f8ff2de231f52c66a
Parents: 60af706
Author: Michael Chirico <michael.chir...@grabtaxi.com>
Authored: Sun Sep 16 12:57:44 2018 -0700
Committer: Felix Cheung <felixche...@apache.org>
Committed: Sun Sep 16 12:58:04 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/1cb1e430/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/1cb1e430/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-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to