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