tables {SparkR} | R Documentation |
Returns a SparkDataFrame containing names of tables in the given database.
tables(sqlContext, databaseName = NULL)
sqlContext |
SQLContext to use |
databaseName |
name of the database |
a SparkDataFrame
## Not run: sc <- sparkR.init() sqlContext <- sparkRSQL.init(sc) tables(sqlContext, "hive") ## End(Not run)