- Hive catalog: used for querying data from Apache Hive™.
- Iceberg catalog: used for querying data from Apache Iceberg.
- Hudi catalog: used for querying data from Apache Hudi.
- Delta Lake catalog: used to query data from Delta Lake.
- JDBC catalog: used to query data from JDBC-compatible data sources.
- StarRocks catalog: used to query native tables in another cluster through remote scans or shared-data direct reads.
- Elasticsearch catalog: used to query data from Elasticsearch. Elasticsearch catalogs are supported from v3.1 onwards.
- Paimon catalog: used to query data from Apache Paimon. Paimon catalogs are supported from v3.1 onwards.
- Fluss catalog: used to query data from Apache Fluss.
- Unified catalog: used to query data from from Hive, Iceberg, Hudi, and Delta Lake data sources as a unified data source. Unified catalogs are supported from v3.2 onwards.
NOTE
- In v3.0 and later, this statement requires SYSTEM-level CREATE EXTERNAL CATALOG privilege.
- Before you create external catalogs, configure your cluster to meet the requirements of the data storage system (such as Amazon S3), metadata service (such as Hive metastore), and authenticating service (such as Kerberos) of external data sources. For more information, see the “Before you begin” section in each external catalog topic.
Syntax
Parameters
Examples
Example 1: Create a Hive catalog namedhive_metastore_catalog. The corresponding Hive cluster uses Hive metastore as its metadata service.
hive_glue_catalog. The corresponding Hive cluster uses AWS Glue as its metadata service.
iceberg_metastore_catalog. The corresponding Iceberg cluster uses Hive metastore as its metadata service.
iceberg_glue_catalog. The corresponding Iceberg cluster uses AWS Glue as its metadata service.
hudi_metastore_catalog. The corresponding Hudi cluster uses Hive metastore as its metadata service.
hudi_glue_catalog. The corresponding Hudi cluster uses AWS Glue as its metadata service.
delta_metastore_catalog. The corresponding Delta Lake service uses Hive metastore as its metadata service.
delta_glue_catalog. The corresponding Delta Lake service uses AWS Glue as its metadata service.
References
- To view all catalogs in your cluster, see SHOW CATALOGS.
- To view the creation statement of an external catalog, see SHOW CREATE CATALOG.
- To delete an external catalog from your cluster, see DROP CATALOG.