Skip to main content

Hive metastore

A Hive metastore often holds more than Hive tables: Iceberg, Hudi and Paimon tables registered beside them, views written by several engines, and tables Spark created. Gravitino connects the same metastore once per kind of content, so each kind is served by the catalog that understands it:

What Gravitino supports in a Hive metastore​

Content in the metastoreSupportedHow
Hive tables in TEXTFILE, SEQUENCEFILE, RCFILE, ORC, Parquet, Avro, JSON, CSV or REGEX; managed or external; partitioned or bucketedYesHive catalog: list, load, create, alter and drop
Tables created by Spark in Parquet or ORCYesHive catalog
Tables created by Spark in other formats, such as CSV, JSON or DeltaNoConvert the table to Parquet, ORC or Iceberg; see Tables written by Spark
Hive, Spark and Flink viewsYesHive catalog: list, load, create, alter and drop
Trino viewsNo
Iceberg tablesYesIceberg catalog over the metastore. Engines reach these tables through the Iceberg REST catalog service
Hudi tablesYesHudi catalog on the same metastore, read-only
Paimon tablesYesPaimon catalog over the metastore
Transactional (ACID) tablesNo
Tables created with STORED BY, such as HBase or Kudu tablesNo