leaves12138 opened a new pull request, #5795:
URL: https://github.com/apache/paimon/pull/5795

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... 
-->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   This pull introduce global row id for paimon table.
   
   A ROW ID is defined as a globally unique, auto-incrementing sequence, 
serving as the "identity card" for each piece of data. Every single data record 
has one, and only one, globally unique ROW ID.
   
   ROW IDs possess the following characteristics:
   
   Immutability: Once a ROW ID is generated, it cannot be changed. It serves as 
the sole identifier for a data record. When performing COMPACTION (data 
merging), the corresponding ROW IDs must be merged, but they remain 
unchangeable themselves. When UPDATING data, a new ROW ID should be generated 
for the updated record, treating the updated data as a distinct record from the 
original.
   
   Auto-incrementing: ROW IDs are allocated based on the largest ROW ID from 
the previous SNAPSHOT. The maximum allocated ROW ID for the current SNAPSHOT is 
then recorded, facilitating allocation for the next SNAPSHOT.
   
   Hidden: The ROW ID functions as an internal sequence number. It is not 
recorded in the table schema and is not exposed or perceptible externally.
   
   
![image](https://github.com/user-attachments/assets/28a639c7-05fe-4b09-ad43-94e5307b8f21)
   
   This pull request is the base of `Global Index` and `Quick Addition Column`
   
   <!-- What is the purpose of the change -->
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to