This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 840dbdc7c0 [typo](docs) add comment of partition and key/value column 
(#19448)
840dbdc7c0 is described below

commit 840dbdc7c0719327a3862c722494cf68a5c50aa6
Author: lsy3993 <110876560+lsy3...@users.noreply.github.com>
AuthorDate: Thu May 11 01:14:17 2023 +0800

    [typo](docs) add comment of partition and key/value column (#19448)
    
    * change docker compose to 'docker-compose'
    
    * modify sql of mysql
    
    * fix docker start and stop cmd
    
    * new commit
    
    * add comment of partition and key/value column
    
    * Update cn doc format
    
    ---------
    
    Co-authored-by: Luzhijing <82810928+luzhij...@users.noreply.github.com>
---
 docs/en/docs/data-table/data-model.md        | 2 +-
 docs/en/docs/data-table/data-partition.md    | 4 ++--
 docs/zh-CN/docs/data-table/data-model.md     | 2 +-
 docs/zh-CN/docs/data-table/data-partition.md | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/en/docs/data-table/data-model.md 
b/docs/en/docs/data-table/data-model.md
index 65a9a53db9..8546c8fb9d 100644
--- a/docs/en/docs/data-table/data-model.md
+++ b/docs/en/docs/data-table/data-model.md
@@ -32,7 +32,7 @@ This topic introduces the data models in Doris from a logical 
perspective so you
 
 In Doris, data is logically described in the form of tables. A table consists 
of rows and columns. Row is a row of user data. Column is used to describe 
different fields in a row of data.
 
-Columns can be divided into two categories: Key and Value. From a business 
perspective, Key and Value correspond to dimension columns and indicator 
columns, respectively.
+Columns can be divided into two categories: Key and Value. From a business 
perspective, Key and Value correspond to dimension columns and indicator 
columns, respectively. The key column of Doris is the column specified in the 
table creation statement. The column after the keyword 'unique key' or 
'aggregate key' or 'duplicate key' in the table creation statement is the key 
column, and the rest except the key column is the value column .
 
 Data models in Doris fall into three types:
 
diff --git a/docs/en/docs/data-table/data-partition.md 
b/docs/en/docs/data-table/data-partition.md
index 7da08e7724..1192e88ec2 100644
--- a/docs/en/docs/data-table/data-partition.md
+++ b/docs/en/docs/data-table/data-partition.md
@@ -38,7 +38,7 @@ A table contains rows and columns.
 
 Row refers to a row of data about the user. Column is used to describe 
different fields in a row of data.
 
-Columns can be divided into two categories: Key and Value. From a business 
perspective, Key and Value correspond to dimension columns and metric columns, 
respectively. In the Aggregate Model, rows with the same values in Key columns 
will be aggregated into one row. The way how Value columns are aggregated is 
specified by the user when the table is built. For more information about the 
Aggregate Model, please see the [Data Model](./data-model.md).
+Columns can be divided into two categories: Key and Value. From a business 
perspective, Key and Value correspond to dimension columns and metric columns, 
respectively. The key column of Doris is the column specified in the table 
creation statement. The column after the keyword 'unique key' or 'aggregate 
key' or 'duplicate key' in the table creation statement is the key column, and 
the rest except the key column is the value column. In the Aggregate Model, 
rows with the same values in Key [...]
 
 ### Tablet & Partition
 
@@ -141,7 +141,7 @@ A few suggested rules for defining columns include:
 
 Doris supports two layers of data partitioning. The first level is Partition, 
including range partitioning and list partitioning. The second is Bucket 
(Tablet), which only supports hash partitioning.
 
-It is also possible to use one layer of data partitioning. In this case, it 
only supports data bucketing.
+It is also possible to use one layer of data partitioning, If you do not write 
the partition statement when creating the table, Doris will generate a default 
partition at this time, which is transparent to the user. In this case, it only 
supports data bucketing.
 
 1. Partition
 
diff --git a/docs/zh-CN/docs/data-table/data-model.md 
b/docs/zh-CN/docs/data-table/data-model.md
index 04d154ac47..d4f8daec29 100644
--- a/docs/zh-CN/docs/data-table/data-model.md
+++ b/docs/zh-CN/docs/data-table/data-model.md
@@ -33,7 +33,7 @@ under the License.
 在 Doris 中,数据以表(Table)的形式进行逻辑上的描述。
 一张表包括行(Row)和列(Column)。Row 即用户的一行数据。Column 用于描述一行数据中不同的字段。
 
-Column 可以分为两大类:Key 和 Value。从业务角度看,Key 和 Value 可以分别对应维度列和指标列。
+Column 可以分为两大类:Key 和 Value。从业务角度看,Key 和 Value 
可以分别对应维度列和指标列。Doris的key列是建表语句中指定的列,建表语句中的关键字'unique key'或'aggregate 
key'或'duplicate key'后面的列就是 Key 列,除了 Key 列剩下的就是 Value a列。
 
 Doris 的数据模型主要分为3类:
 
diff --git a/docs/zh-CN/docs/data-table/data-partition.md 
b/docs/zh-CN/docs/data-table/data-partition.md
index e521202b8c..8dbb83fb8b 100644
--- a/docs/zh-CN/docs/data-table/data-partition.md
+++ b/docs/zh-CN/docs/data-table/data-partition.md
@@ -40,7 +40,7 @@ under the License.
 
 - Column: 用于描述一行数据中不同的字段。
 
-  Column 可以分为两大类:Key 和 Value。从业务角度看,Key 和 Value 可以分别对应维度列和指标列。从聚合模型的角度来说,Key 
列相同的行,会聚合成一行。其中 Value 列的聚合方式由用户在建表时指定。关于更多聚合模型的介绍,可以参阅 [Doris 
数据模型](data-model.md)。
+  Column 可以分为两大类:Key 和 Value。从业务角度看,Key 和 Value 
可以分别对应维度列和指标列。Doris的key列是建表语句中指定的列,建表语句中的关键字'unique key'或'aggregate 
key'或'duplicate key'后面的列就是key列,除了key列剩下的就是value列。从聚合模型的角度来说,Key 列相同的行,会聚合成一行。其中 
Value 列的聚合方式由用户在建表时指定。关于更多聚合模型的介绍,可以参阅 [Doris 数据模型](data-model.md)。
 
 ### Tablet & Partition
 
@@ -143,7 +143,7 @@ AGGREGATE KEY 数据模型中,所有没有指定聚合方式(SUM、REPLACE
 
 Doris 支持两层的数据划分。第一层是 Partition,支持 Range 和 List 的划分方式。第二层是 Bucket(Tablet),仅支持 
Hash 的划分方式。
 
-也可以仅使用一层分区。使用一层分区时,只支持 Bucket 划分。下面我们来分别介绍下分区以及分桶:
+也可以仅使用一层分区,建表时如果不写分区的语句即可,此时Doris会生成一个默认的分区,对用户是透明的。使用一层分区时,只支持 Bucket 
划分。下面我们来分别介绍下分区以及分桶:
 
 1. **Partition**
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to