Add Iceberg REST catalog support to TrinoCatalog

Open
#849 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
kubernetes, rust

Research direction

Start with the TrinoCatalog.spec.connector.iceberg.metastore field and compare the working configuration in tests/templates/kuttl/iceberg-rest/31_trino.yaml.j2. Trace how the catalog connector is represented and rendered, then update the model and deployment configuration so the enum supports metastore and restCatalog. Done means an Iceberg REST catalog can be configured and the existing metastore path remains covered.

Written by the indexing model from the issue text.

Description

Part of https://github.com/stackabletech/internal-issues/issues/156

Currently we only offer Hive metastore, we also want to offer an Iceberg REST catalog.

A working example can be found here

Implementation note: We want an enum of either metastore or restCatalog. https://github.com/stackabletech/trino-operator/pull/841 made the TrinoCatalog.spec.connector.iceberg.metastore field optional, so changing this to an enum is technically a breaking change, but given 1.) It was only recently made optional and 2.) setups without an metastore can currently not work it's IMHO safe to assume that we can make this breaking change

Dominant language
Rust
Stars
63
Forks
13
Avg merge
1d 20h
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stackabletech/trino-operator

All issues in stackabletech/trino-operator

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.