apache / apache/paimon

[Feature] Support table managements by Spark Procedure

Open
#1,896 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.

### Motivation

As https://github.com/apache/incubator-paimon/pull/1785 supports to parse Spark call procedure command, we can try to implement some table managements like snapshot and tag.
We can realize some actions like [Flink](https://github.com/apache/incubator-paimon/tree/6d6633837a8e9b9e8f5be8ad22dfd908470e9587/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action) firstly,
Then we may extend to more action like compaction and [metadata management](https://github.com/apache/incubator-paimon/issues/1155).

List of target action:
- [x] rollback to snapshot/tag
https://github.com/apache/incubator-paimon/pull/1897
- [x] create/delete tag
https://github.com/apache/incubator-paimon/pull/1897
- [ ] migrate from hive to paimon
https://github.com/apache/incubator-paimon/issues/1903
- [ ] expire
https://github.com/apache/incubator-paimon/issues/1529
- [ ] ......

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Review PR 1785 for Spark CALL PROCEDURE parsing and the Flink action directory linked in the issue to understand the existing table-management patterns. The issue's rollback and tag actions are covered by PR 1897, while migration and expiration point to separate issues; define the remaining Spark action scope before starting. Done means an agreed remaining action is implemented for Spark.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
data-engineering, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.