Catalog.ListTables Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ListTables() |
Returns a list of tables/views in the current database. The |
ListTables(String) |
Returns a list of tables/views in the specified database. The |
ListTables()
Returns a list of tables/views in the current database. The DataFrame
includes the
name, database, description, table type and whether the table is temporary or not.
public Microsoft.Spark.Sql.DataFrame ListTables ();
member this.ListTables : unit -> Microsoft.Spark.Sql.DataFrame
Public Function ListTables () As DataFrame
Returns
DataFrame
with the name, database, description, table type and whether the
table is temporary or not for each table in the default database
Applies to
ListTables(String)
Returns a list of tables/views in the specified database. The DataFrame
includes the
name, database, description, table type and whether the table is temporary or not.
public Microsoft.Spark.Sql.DataFrame ListTables (string dbName);
member this.ListTables : string -> Microsoft.Spark.Sql.DataFrame
Public Function ListTables (dbName As String) As DataFrame
Parameters
- dbName
- String
Is a name that designates a database.
Returns
DataFrame
with the name, database, description, table type and whether the
table is temporary or not for each table in the named database