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