Returns a list of columns for the given table/view in the specified database
listColumns.Rd
Returns a list of columns for the given table/view in the specified database.
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
Examples
if (FALSE) {
sparkR.session()
listColumns("mytable")
}