Share via


Catalog.GetTable Method

Definition

Overloads

GetTable(String, String)

Get the table or view with the specified name in the specified database. You can use this to find the tables description, database, type and whether it is a temporary table or not.

GetTable(String)

Get the table or view with the specified name. You can use this to find the tables description, database, type and whether it is a temporary table or not.

GetTable(String, String)

Get the table or view with the specified name in the specified database. You can use this to find the tables description, database, type and whether it is a temporary table or not.

public Microsoft.Spark.Sql.Catalog.Table GetTable (string dbName, string tableName);
member this.GetTable : string * string -> Microsoft.Spark.Sql.Catalog.Table
Public Function GetTable (dbName As String, tableName As String) As Table

Parameters

dbName
String

Is a name that designates a database.

tableName
String

Is an unqualified name that designates a table in the specified database.

Returns

Table object which includes name, database, description, table type and whether the table is temporary or not.

Applies to

GetTable(String)

Get the table or view with the specified name. You can use this to find the tables description, database, type and whether it is a temporary table or not.

public Microsoft.Spark.Sql.Catalog.Table GetTable (string tableName);
member this.GetTable : string -> Microsoft.Spark.Sql.Catalog.Table
Public Function GetTable (tableName As String) As Table

Parameters

tableName
String

Is either a qualified or unqualified name that designates a table. If no database identifier is provided, it refers to a table in the current database.

Returns

Table object which includes name, database, description, table type and whether the table is temporary or not.

Applies to