Catalog.GetDatabase(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得具有指定名稱的資料庫。
呼叫 GetDatabase 可讓您存取 Hive 資料庫名稱、描述和位置。
public Microsoft.Spark.Sql.Catalog.Database GetDatabase(string dbName);
member this.GetDatabase : string -> Microsoft.Spark.Sql.Catalog.Database
Public Function GetDatabase (dbName As String) As Database
參數
- dbName
- String
要取得的資料庫名稱。
傳回
Database 物件,其中包含資料庫的名稱、描述和 locationUri。