Resource: HiveCatalog
The HiveCatalog contains spark/hive databases and tables in the BigLake Metastore. While creating resources under a catalog, ideally ensure that the storage bucket location, spark / hive engine location or any other compute location match. Catalog can be viewed as the destination for migrating an on-prem Hive metastore to Google Cloud.
| JSON representation |
|---|
{ "name": string, "description": string, "locationUri": string } |
| Fields | |
|---|---|
name |
Output only. The resource name. Format: projects/{project_id_or_number}/catalogs/{catalogId} |
description |
Optional. Stores the catalog description. The maximum length is 4000 characters. |
locationUri |
Required. The Cloud Storage location path where the catalog exists. Format: gs://bucket/path/to/catalog The maximum length is 4000 characters. |
Methods |
|
|---|---|
|
Creates a new hive catalog. |
|
Deletes an existing catalog specified by the catalog ID. |
|
Gets the catalog specified by the resource name. |
|
List all catalogs in a specified project. |
|
Updates an existing catalog. |