prestodb/presto

Add support for JDBC catalog in Iceberg

Open

#21,774 opened on Jan 24, 2024

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Java (5,240 forks)batch import
feature requestgood first issueiceberg

Repository metrics

Stars
 (15,558 stars)
PR merge metrics
 (Avg merge 34d 14h) (120 merged PRs in 30d)

Description

Iceberg requires a catalog in order to retrieve table names, map tables to metadata files, and to provide atomicity when the underlying filesystem doesn't itself support it. More information about Iceberg catalogs can be found here.

Presto is missing support for the JDBC catalog. It would be nice to add this support as a way for people who are new to Presto who do use the JDBC catalog to use Presto.

Expected Behavior or Use Case

A configuration is added to the Iceberg connector which enables support for JDBC catalog (see example for Hive configuration). Tests are added for this connector. Documentation is added to the Iceberg connector docs.

Presto Component, Service, or Connector

Iceberg connector

Possible Implementation

This should be added as a new catalog in the Iceberg connector. See this example which added the Nessie catalog: https://github.com/prestodb/presto/pull/17719

The majority of the work would be in tests and documentation.

Example Screenshots (if appropriate):

Context

It is important to have complete support for Iceberg catalogs.

Contributor guide