apache / apache/iceberg

include Postgres driver in iceberg-rest-fixture image

Open
#14,802 7 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
9.2k
Forks
3.5k
Avg merge
2d 11h
Merged PRs (30d)
132

Description

### Feature Request / Improvement

by default the image use an sqlite db

would be great that the image can directly use a remote postgres without need to create a custom image

because currently doing

CATALOG_URI=jdbc:postgresql://iceberg_rest-db:5432/iceberg_restdb

fail with

Caused by: java.sql.SQLException: No suitable driver found for jdbc:postgresql://iceberg_rest-db:5432/iceberg_restdb

### Query engine

None

### Willingness to contribute

- [x] I can contribute this improvement/feature independently
- [ ] I would be willing to contribute this improvement/feature with guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time

Contributor guide

Open the contributing guide

Research direction

The issue identifies the iceberg-rest-fixture image and a JDBC PostgreSQL URL as the entry points. Locate the image definition and its dependency setup, then verify that the image can connect to a remote PostgreSQL database without a custom build. Done means the example URL no longer fails with “No suitable driver...”.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java, postgresql
Domain
build-system, database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.