apache / apache/paimon

[Feature] add uuid as the table unique identity

Open
#4,147 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/paimon/issues) and found nothing similar.

### Motivation

Can paimon add a table attribute uuid as the table unique identity.
A UUID that identifies the table, generated when the table is created.
Implementations must throw an exception if a table's UUID does not match the expected UUID after refreshing metadata.
So far, can only use catalog name + database name + table name + table create time to generate unique identifiers.
In the OLAP scenario, getting the create time spent a lot of time.

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

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

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the table-creation and metadata-refresh paths, then determine how a generated UUID would be stored, exposed, and validated against the expected identity after refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
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.