HyukjinKwon commented on a change in pull request #17483:
URL: https://github.com/apache/spark/pull/17483#discussion_r532305458
##########
File path: R/pkg/R/SQLContext.R
##########
@@ -569,200 +569,6 @@ tableToDF <- function(tableName) {
dataFrame(sdf)
}
-#' Tables
-#'
-#' Returns a SparkDataFrame containing names of tables in the given database.
-#'
-#' @param databaseName name of the database
-#' @return a SparkDataFrame
-#' @rdname tables
-#' @export
-#' @examples
-#'\dontrun{
-#' sparkR.session()
-#' tables("hive")
-#' }
-#' @name tables
-#' @method tables default
-#' @note tables since 1.4.0
-tables.default <- function(databaseName = NULL) {
- sparkSession <- getSparkSession()
- jdf <- callJStatic("org.apache.spark.sql.api.r.SQLUtils", "getTables",
sparkSession, databaseName)
Review comment:
Yeah, I saw the PR. LGTM
----------------------------------------------------------------
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]