This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5970fd17142 fixed spelling of 'example' (#151)
5970fd17142 is described below
commit 5970fd171429dc875cfd54b5ecdd8bf6852b0507
Author: lihaijian <[email protected]>
AuthorDate: Thu Nov 10 11:50:50 2022 +0800
fixed spelling of 'example' (#151)
---
docs/data-table/data-model.md | 8 ++++----
docs/data-table/data-partition.md | 4 ++--
.../current/data-table/data-model.md | 8 ++++----
.../current/data-table/data-partition.md | 6 +++---
.../version-0.15/getting-started/data-model-rollup.md | 8 ++++----
.../version-0.15/getting-started/data-partition.md | 6 +++---
versioned_docs/version-0.15/getting-started/data-model-rollup.md | 8 ++++----
versioned_docs/version-0.15/getting-started/data-partition.md | 4 ++--
8 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/docs/data-table/data-model.md b/docs/data-table/data-model.md
index d27e6f6bce8..fed49999266 100644
--- a/docs/data-table/data-model.md
+++ b/docs/data-table/data-model.md
@@ -66,7 +66,7 @@ Assume that the business has the following data table schema:
If converted into a table-building statement, the following is done (omitting
the Partition and Distribution information in the table-building statement)
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "user id",
`date` DATE NOT NULL COMMENT "data import time",
@@ -252,7 +252,7 @@ In some multi-dimensional analysis scenarios, users are
more concerned with how
This is a typical user base information table. There is no aggregation
requirement for this type of data, just the uniqueness of the primary key is
guaranteed. (The primary key here is user_id + username). Then our statement is
as follows:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "user id",
`username` VARCHAR (50) NOT NULL COMMENT "username",
@@ -286,7 +286,7 @@ This table structure is exactly the same as the following
table structure descri
And table-building statements:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "user id",
`username` VARCHAR (50) NOT NULL COMMENT "username",
@@ -320,7 +320,7 @@ In some multidimensional analysis scenarios, data has
neither primary keys nor a
The TABLE statement is as follows:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`timestamp` DATETIME NOT NULL COMMENT "log time",
`type` INT NOT NULL COMMENT "log type",
diff --git a/docs/data-table/data-partition.md
b/docs/data-table/data-partition.md
index dc733214e05..6e792281ebd 100644
--- a/docs/data-table/data-partition.md
+++ b/docs/data-table/data-partition.md
@@ -57,7 +57,7 @@ This section introduces Doris's approach to building tables
with an example.
```sql
-- Range Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_range_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_range_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "User id",
`date` DATE NOT NULL COMMENT "Data fill in date time",
@@ -89,7 +89,7 @@ PROPERTIES
-- List Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_list_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_list_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "User id",
`date` DATE NOT NULL COMMENT "Data fill in date time",
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-model.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-model.md
index 3242fe9b78a..1fa6d195691 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-model.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-model.md
@@ -66,7 +66,7 @@ Doris 的数据模型主要分为3类:
如果转换成建表语句则如下(省略建表语句中的 Partition 和 Distribution 信息)
```sql
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`date` DATE NOT NULL COMMENT "数据灌入日期时间",
@@ -256,7 +256,7 @@ PROPERTIES (
这是一个典型的用户基础信息表。这类数据没有聚合需求,只需保证主键唯一性。(这里的主键为 user_id + username)。那么我们的建表语句如下:
```sql
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`username` VARCHAR(50) NOT NULL COMMENT "用户昵称",
@@ -290,7 +290,7 @@ PROPERTIES (
及建表语句:
```sql
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`username` VARCHAR(50) NOT NULL COMMENT "用户昵称",
@@ -326,7 +326,7 @@ PROPERTIES (
建表语句如下:
```sql
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`timestamp` DATETIME NOT NULL COMMENT "日志时间",
`type` INT NOT NULL COMMENT "日志类型",
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-partition.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-partition.md
index f166ed543f5..945a8711661 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-partition.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-partition.md
@@ -61,7 +61,7 @@ Doris 的建表是一个同步命令,SQL执行完成即返回结果,命令
```sql
-- Range Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_range_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_range_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`date` DATE NOT NULL COMMENT "数据灌入日期时间",
@@ -93,7 +93,7 @@ PROPERTIES
-- List Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_list_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_list_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`date` DATE NOT NULL COMMENT "数据灌入日期时间",
@@ -162,7 +162,7 @@ Doris 支持两层的数据划分。第一层是 Partition,支持 Range 和 Li
- 通过 `VALUES [...)` 同时指定上下界比较容易理解。这里举例说明,当使用 `VALUES LESS THAN (...)`
语句进行分区的增删操作时,分区范围的变化情况:
- - 如上 `expamle_range_tbl` 示例,当建表完成后,会自动生成如下3个分区:
+ - 如上 `example_range_tbl` 示例,当建表完成后,会自动生成如下3个分区:
```text
p201701: [MIN_VALUE, 2017-02-01)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-model-rollup.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-model-rollup.md
index 6de46c004ee..8f67e42abe0 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-model-rollup.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-model-rollup.md
@@ -66,7 +66,7 @@ Doris 的数据模型主要分为3类:
如果转换成建表语句则如下(省略建表语句中的 Partition 和 Distribution 信息)
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`date` DATE NOT NULL COMMENT "数据灌入日期时间",
@@ -250,7 +250,7 @@ AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`)
这是一个典型的用户基础信息表。这类数据没有聚合需求,只需保证主键唯一性。(这里的主键为 user_id + username)。那么我们的建表语句如下:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`username` VARCHAR(50) NOT NULL COMMENT "用户昵称",
@@ -282,7 +282,7 @@ UNIQUE KEY(`user_id`, `username`)
及建表语句:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`username` VARCHAR(50) NOT NULL COMMENT "用户昵称",
@@ -316,7 +316,7 @@ AGGREGATE KEY(`user_id`, `username`)
建表语句如下:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`timestamp` DATETIME NOT NULL COMMENT "日志时间",
`type` INT NOT NULL COMMENT "日志类型",
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-partition.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-partition.md
index 14f6073a1ac..0c349e1b59a 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-partition.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.15/getting-started/data-partition.md
@@ -59,7 +59,7 @@ Doris 的建表是一个同步命令,命令返回成功,即表示建表成
```
-- Range Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_range_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_range_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`date` DATE NOT NULL COMMENT "数据灌入日期时间",
@@ -91,7 +91,7 @@ PROPERTIES
-- List Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_list_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_list_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`date` DATE NOT NULL COMMENT "数据灌入日期时间",
@@ -158,7 +158,7 @@ Doris 支持两层的数据划分。第一层是 Partition,支持 Range 和 Li
* 通过 `VALUES [...)` 同时指定上下界比较容易理解。这里举例说明,当使用 `VALUES LESS THAN (...)`
语句进行分区的增删操作时,分区范围的变化情况:
- * 如上 `expamle_range_tbl` 示例,当建表完成后,会自动生成如下3个分区:
+ * 如上 `example_range_tbl` 示例,当建表完成后,会自动生成如下3个分区:
```
p201701: [MIN_VALUE, 2017-02-01)
diff --git a/versioned_docs/version-0.15/getting-started/data-model-rollup.md
b/versioned_docs/version-0.15/getting-started/data-model-rollup.md
index 590a2be8f57..7453d3b5e52 100644
--- a/versioned_docs/version-0.15/getting-started/data-model-rollup.md
+++ b/versioned_docs/version-0.15/getting-started/data-model-rollup.md
@@ -66,7 +66,7 @@ Assume that the business has the following data table schema:
If converted into a table-building statement, the following is done (omitting
the Partition and Distribution information in the table-building statement)
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "user id",
`date` DATE NOT NULL COMMENT "data import time",
@@ -250,7 +250,7 @@ In some multi-dimensional analysis scenarios, users are
more concerned with how
This is a typical user base information table. There is no aggregation
requirement for this type of data, just the uniqueness of the primary key is
guaranteed. (The primary key here is user_id + username). Then our statement is
as follows:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`username` VARCHAR (50) NOT NULL COMMENT "25143;" 261651;"
@@ -282,7 +282,7 @@ This table structure is exactly the same as the following
table structure descri
And table-building statements:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "用户id",
`username` VARCHAR (50) NOT NULL COMMENT "25143;" 261651;"
@@ -314,7 +314,7 @@ In some multidimensional analysis scenarios, data has
neither primary keys nor a
The TABLE statement is as follows:
```
-CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_tbl
(
`timestamp` DATETIME NOT NULL COMMENT "日志时间",
`type` INT NOT NULL COMMENT "日志类型",
diff --git a/versioned_docs/version-0.15/getting-started/data-partition.md
b/versioned_docs/version-0.15/getting-started/data-partition.md
index 4ab0241d951..459e2a3f60d 100644
--- a/versioned_docs/version-0.15/getting-started/data-partition.md
+++ b/versioned_docs/version-0.15/getting-started/data-partition.md
@@ -59,7 +59,7 @@ This section introduces Doris's approach to building tables
with an example.
```
-- Range Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_range_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_range_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "User id",
`date` DATE NOT NULL COMMENT "Data fill in date time",
@@ -91,7 +91,7 @@ PROPERTIES
-- List Partition
-CREATE TABLE IF NOT EXISTS example_db.expamle_list_tbl
+CREATE TABLE IF NOT EXISTS example_db.example_list_tbl
(
`user_id` LARGEINT NOT NULL COMMENT "User id",
`date` DATE NOT NULL COMMENT "Data fill in date time",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]