apache / apache/polaris

Add support for unique-table-location property

Open
#4,492 4 comments 0 reactions 0 assignees View on GitHub
enhancement iceberg-1.11 stale
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
1d 17h
Merged PRs (30d)
137

Description

### Is your feature request related to a problem? Please describe.

Iceberg 1.11 introduced a new catalog property: `unique-table-location`:

https://github.com/apache/iceberg/blob/b809dcd770d3c10cc6d81b70dc198422749cfa0e/core/src/main/java/org/apache/iceberg/CatalogProperties.java#L166

See for reference:

https://github.com/apache/iceberg/pull/12892
https://github.com/apache/iceberg/pull/2850

### Describe the solution you'd like

Polaris should honor this configuration property when specified.

Currently it doesn't, which is why the test `org.apache.iceberg.catalog.CatalogTests.createTableInUniqueLocation()` currently does not pass.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading Iceberg's CatalogProperties.java entry for unique-table-location and the Polaris catalog implementation that handles table creation. Run org.apache.iceberg.catalog.CatalogTests.createTableInUniqueLocation() to reproduce the current failure. Done means Polaris honors the property and that test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.