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: 
sc <- sparkR.init()
sqlContext <- sparkRSQL.init(sc)
tableNames(sqlContext, "hive")

## End(Not run)

[Package SparkR version 1.6.0 Index]