Skip to content

Commit

Permalink
[Doc] Fixed description of insert behavior on primary key table (back…
Browse files Browse the repository at this point in the history
…port #53111) (#53134)

Co-authored-by: kalyanmysore <[email protected]>
  • Loading branch information
mergify[bot] and kalyanmysore authored Nov 22, 2024
1 parent 28c934e commit b29c1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/table_design/table_types/table_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ In the Primary Key table, the primary key and sort key are decoupled. The primar

- Unique Key table and Primary Key table

StarRocks replaces each newly loaded record with the previously loaded record and retains only the most recently loaded record as a row in the table. After the loading is complete, the table does not contain rows that have the same primary key. The Unique Key table and the Primary Key table can be considered a special Aggregate table in which the REPLACE aggregate function is specified for metric columns to return the most recent record among a group of records that have the same primary key.
StarRocks replaces each previously loaded record with the newly loaded record and retains only the most recently loaded record as a row in the table. After the loading is complete, the table does not contain previous rows that have the same primary key. Only the latest record that contains the same unique key/primary key is retained. The Unique Key table and the Primary Key table can be considered a special Aggregate table in which the REPLACE aggregate function is specified for metric columns to return the most recent record among a group of records that have the same primary key.

0 comments on commit b29c1d0

Please sign in to comment.