tableNames {SparkR}R Documentation

Table Names

Description

Returns the names of tables in the given database as an array.

Usage

tableNames(sqlContext, databaseName = NULL)

Arguments

sqlContext

SQLContext to use

databaseName

name of the database

Value

a list of table names

Examples

## Not run: 
##D sc <- sparkR.init()
##D sqlContext <- sparkRSQL.init(sc)
##D tableNames(sqlContext, "hive")
## End(Not run)

[Package SparkR version 1.5.1 Index]