listColumns: Returns a list of columns for the given table/view in the...

Description Usage Arguments Value Note Examples

View source: R/catalog.R

Description

Returns a list of columns for the given table/view in the specified database.

Usage

1
listColumns(tableName, databaseName = NULL)

Arguments

tableName

the qualified or unqualified name that designates a table/view. If no database identifier is provided, it refers to a table/view in the current database. If databaseName parameter is specified, this must be an unqualified name.

databaseName

(optional) name of the database

Value

a SparkDataFrame of the list of column descriptions.

Note

since 2.2.0

Examples

1
2
3
4
5
## Not run: 
sparkR.session()
listColumns("mytable")

## End(Not run)

SparkR documentation built on June 3, 2021, 5:05 p.m.