- NAME
-
- gcloud alpha biglake hive databases create - creates a BigLake Hive database
- SYNOPSIS
-
-
gcloud alpha biglake hive databases create(DATABASE:--catalog=CATALOG) [--description=DESCRIPTION] [--location-uri=LOCATION_URI] [--properties=[KEY=VALUE,…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Creates a BigLake Hive database. - EXAMPLES
-
To create a BigLake Hive database named
my-databasein catalogmy-catalog, run:gcloud alpha biglake hive databases create my-database --catalog=my-catalogTo create a BigLake Hive database named
my-databasein catalogmy-catalog, with bucketgs://my-bucket, propertieskey1=value1,key2=value2and descriptionMy new database, run:gcloud alpha biglake hive databases create my-database --catalog=my-catalog --location-uri=gs://my-bucket --description="My new database" --properties=key1=value1,key2=value2 - POSITIONAL ARGUMENTS
-
-
Hive database resource - The Hive Database to create. The arguments in this
group can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
databaseon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
DATABASE-
ID of the hive_database or fully qualified identifier for the hive_database.
To set the
databaseattribute:-
provide the argument
databaseon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--catalog=CATALOG-
Name of the Hive catalog to use.
To set the
catalogattribute:-
provide the argument
databaseon the command line with a fully specified name; -
provide the argument
--catalogon the command line.
-
provide the argument
-
provide the argument
-
Hive database resource - The Hive Database to create. The arguments in this
group can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other ways.
- FLAGS
-
--description=DESCRIPTION- Description of the Hive database.
--location-uri=LOCATION_URI- The Cloud Storage location path where the database data will be stored. Format: gs://bucket/path/to/database
--properties=[KEY=VALUE,…]- Additional properties associated with the database.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - API REFERENCE
-
This command uses the
biglake/v1betaAPI. The full documentation for this API can be found at: https://cloud.google.com/bigquery/ - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha biglake hive databases create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-17 UTC.