AI / Apache Paimon Interview questions
When should you choose the Hive catalog over the filesystem catalog?
The filesystem catalog stores both metadata and data purely in the filesystem, which is the simplest choice when Paimon is the only tool that needs to know about your tables. It doesn't require any external metastore service to run.
The Hive catalog additionally registers tables in the Hive metastore, which is the right call whenever other tools in your stack — Hive itself, Presto/Trino jobs expecting Hive-registered tables, existing data-discovery or governance tooling — already query the Hive metastore to find tables. It lets a Paimon table show up in SHOW TABLES from Hive and be queried without any extra Paimon-specific catalog configuration on the reader's side.
CREATE CATALOG my_catalog WITH ( 'type' = 'paimon', 'metastore' = 'hive', 'uri' = 'thrift://localhost:9083' );
Choosing filesystem when you actually need Hive interoperability means other tools simply won't see your tables; choosing Hive when you don't need it means running and maintaining a metastore service you didn't strictly require.
More Related questions...