tables {SparkR}R Documentation

Tables

Description

Returns a DataFrame containing names of tables in the given database.

Usage

tables(sqlContext, databaseName = NULL)

Arguments

sqlContext

SQLContext to use

databaseName

name of the database

Value

a DataFrame

Examples

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

[Package SparkR version 1.6.1 Index]