apache / apache/iceberg

Alter schema: allow to drop map fields

Open
#15,313 5 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

It happens from time to time: we used a map field in the table and we stopped to use it and thus want to remove the field from the schema.
Currently this is not allowed with the following error:
```java.lang.IllegalArgumentException: Cannot delete map keys: map```

### Query engine

None

### Willingness to contribute

- [ ] I can contribute this improvement/feature independently
- [x] 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.