apache / apache/gravitino

[FEATURE] altering table can't support to add new partition column?

Open
#3,412 3 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

### Describe the feature

iceberg table has the feature of Partition Evolution。
so,Can gravitino api support this feature like this?

Table sampleTable = ...;
sampleTable.updateSpec()
.addField(bucket("id", 8))
.removeField("category")
.commit();

### Motivation

_No response_

### Describe the solution

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Gravitino's table-alteration API and the Iceberg partition-evolution example shown in the issue. Determine how adding and removing partition fields should be represented and validated, then confirm that the API supports the sample operation with tests covering the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.