From b29c1d030f6c229df51ee4e11cadea9049c8136e Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:25:16 +0800 Subject: [PATCH] [Doc] Fixed description of insert behavior on primary key table (backport #53111) (#53134) Co-authored-by: kalyanmysore --- docs/en/table_design/table_types/table_types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/table_design/table_types/table_types.md b/docs/en/table_design/table_types/table_types.md index ba9115ee0013b..b81581f498c45 100644 --- a/docs/en/table_design/table_types/table_types.md +++ b/docs/en/table_design/table_types/table_types.md @@ -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.