listColumns {SparkR} | R Documentation |
Returns a list of columns for the given table/view in the specified database.
listColumns(tableName, databaseName = NULL)
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 |
(optional) name of the database |
a SparkDataFrame of the list of column descriptions.
since 2.2.0
## Not run:
##D sparkR.session()
##D listColumns("mytable")
## End(Not run)