Catalog.listColumns(tableName, dbName=None)[source]

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

If no database is specified, the current database is used.

New in version 2.0.0.


the order of arguments here is different from that of its JVM counterpart because Python does not support method overloading.