apache / apache/paimon

[Feature] Added insertable, updatable attributes to the paimon table field

Open
#3,644 2 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

Added insertable, updatable attributes to the paimon table column
insertable: Only the inserted data can be used. If the data is updated later, the field value will not be updated.
updatable: Only updated data can be used. The value of this field is null when data is inserted for the first time

Ideas from JPA
![image](https://github.com/apache/paimon/assets/1145830/f854c76e-5e8c-4247-a6ae-0be05d0cd3ca)

### 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

No files, tests, or entry points are identified. Clarify how insertable and updatable should affect Paimon table columns, including their interaction with inserts and updates, then define tests that demonstrate the expected field values.

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.