This is an automated email from the ASF dual-hosted git repository.
yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new b8612a4 [DOCS] add some missing documents (#5370)
b8612a4 is described below
commit b8612a4be5a633e5777da31cc1e20a2e90f0656e
Author: Zhengguo Yang <[email protected]>
AuthorDate: Tue Feb 9 09:31:39 2021 +0800
[DOCS] add some missing documents (#5370)
---
docs/.vuepress/sidebar/en.js | 60 +++++++++++---------
docs/.vuepress/sidebar/zh-CN.js | 64 +++++++++++++---------
.../sql-statements/Data Definition/ALTER TABLE.md | 2 +-
3 files changed, 73 insertions(+), 53 deletions(-)
diff --git a/docs/.vuepress/sidebar/en.js b/docs/.vuepress/sidebar/en.js
index ec68f3a..0389278 100644
--- a/docs/.vuepress/sidebar/en.js
+++ b/docs/.vuepress/sidebar/en.js
@@ -32,11 +32,11 @@ module.exports = [
title: "Getting Started",
directoryPath: "getting-started/",
children: [
- "basic-usage",
"advance-usage",
+ "basic-usage",
"best-practice",
- "data-partition",
"data-model-rollup",
+ "data-partition",
"hit-the-rollup",
],
},
@@ -48,14 +48,16 @@ module.exports = [
title: "Load Data",
directoryPath: "load-data/",
children: [
- "load-manual",
+ "batch-delete-manual",
"broker-load-manual",
- "stream-load-manual",
- "routine-load-manual",
- "insert-into-manual",
"delete-manual",
+ "insert-into-manual",
"load-json-format",
- "batch-delete-manual",
+ "load-manual",
+ "routine-load-manual",
+ "sequence-column-manual",
+ "spark-load-manual",
+ "stream-load-manual",
],
sidebarDepth: 2,
},
@@ -64,10 +66,10 @@ module.exports = [
directoryPath: "alter-table/",
children: [
"alter-table-bitmap-index",
+ "alter-table-replace-table",
"alter-table-rollup",
"alter-table-schema-change",
"alter-table-temp-partition",
- "alter-table-replace-table",
],
sidebarDepth: 2,
},
@@ -119,13 +121,16 @@ module.exports = [
},
"cancel-label",
"compaction-action",
+ "connection-action",
"fe-get-log-file",
"get-load-state",
- "restore-tablet",
+ "get-tablets",
"profile-action",
- "connection-action",
"query-detail-action",
+ "restore-tablet",
"show-data-action",
+ "tablet-migration-action",
+ "tablets_distribution",
],
sidebarDepth: 1,
},
@@ -143,8 +148,8 @@ module.exports = [
title: "Metrics",
directoryPath: "monitor-metrics/",
children: [
- "fe-metrics",
"be-metrics",
+ "fe-metrics",
],
},
],
@@ -154,8 +159,8 @@ module.exports = [
title: "Configuration",
directoryPath: "config/",
children: [
- "fe_config",
"be_config",
+ "fe_config",
"user_property",
],
sidebarDepth: 1,
@@ -182,16 +187,16 @@ module.exports = [
children: [
"audit-plugin",
"doris-on-es",
+ "logstash",
"odbc-of-doris",
"plugin-development-manual",
"spark-doris-connector",
- "logstash",
{
title: "UDF",
directoryPath: "udf/",
children: [
- "user-defined-function",
"contribute-udf",
+ "user-defined-function",
{
title: "Users contribute UDF",
directoryPath: "contrib/",
@@ -299,6 +304,7 @@ module.exports = [
"regexp_extract",
"regexp_replace",
"repeat",
+ "reverse",
"right",
"rpad",
"split_part",
@@ -311,17 +317,18 @@ module.exports = [
title: "Aggregate Functions",
directoryPath: "aggregate-functions/",
children: [
+ "approx_count_distinct",
"avg",
"bitmap_union",
"count",
"hll_union_agg",
"max",
"min",
- "approx_count_distinct",
"percentile_approx",
"stddev",
"stddev_samp",
"sum",
+ "topn",
"var_samp",
"variance",
],
@@ -336,13 +343,14 @@ module.exports = [
"bitmap_from_string",
"bitmap_has_any",
"bitmap_hash",
+ "bitmap_intersect",
"bitmap_or",
"bitmap_xor",
"bitmap_not",
"bitmap_to_string",
- "to_bitmap",
- "bitmap_intersect",
"bitmap_union",
+ "bitmap_xor",
+ "to_bitmap",
],
},
{
@@ -419,26 +427,27 @@ module.exports = [
"CANCEL ALTER",
"CANCEL BACKUP",
"CANCEL RESTORE",
- "Colocate Join",
"CREATE DATABASE",
"CREATE INDEX",
"CREATE MATERIALIZED VIEW",
"CREATE REPOSITORY",
+ "CREATE TABLE LIKE",
"CREATE TABLE",
"CREATE VIEW",
- "create-function",
+ "Colocate Join",
"DROP DATABASE",
"DROP INDEX",
"DROP MATERIALIZED VIEW",
"DROP REPOSITORY",
"DROP TABLE",
"DROP VIEW",
- "drop-function",
"HLL",
"RECOVER",
"RESTORE",
- "show-functions",
"TRUNCATE TABLE",
+ "create-function",
+ "drop-function",
+ "show-functions",
],
},
{
@@ -453,17 +462,16 @@ module.exports = [
"EXPORT",
"GET LABEL STATE",
"GROUP BY",
- "insert",
"LOAD",
"MINI LOAD",
"MULTI LOAD",
- "alter-routine-load",
"PAUSE ROUTINE LOAD",
"RESTORE TABLET",
"RESUME ROUTINE LOAD",
"ROUTINE LOAD",
"SHOW ALTER",
"SHOW BACKUP",
+ "SHOW CREATE FUNCTION",
"SHOW DATA",
"SHOW DATABASES",
"SHOW DELETE",
@@ -482,6 +490,8 @@ module.exports = [
"SHOW TRANSACTION",
"STOP ROUTINE LOAD",
"STREAM LOAD",
+ "alter-routine-load",
+ "insert",
],
},
{
@@ -518,19 +528,19 @@ module.exports = [
directoryPath: "developer-guide/",
children: [
"debug-tool",
+ "fe-eclipse-dev",
"format-code",
- "fe-eclipse-dev"
],
},
{
title: "Apache Community",
directoryPath: "community/",
children: [
+ "committer-guide",
"gitter",
"how-to-contribute",
"members",
"pull-request",
- "committer-guide",
"release-process",
"subscribe-mail-list",
"verify-apache-release",
diff --git a/docs/.vuepress/sidebar/zh-CN.js b/docs/.vuepress/sidebar/zh-CN.js
index b6e0584..9724052 100644
--- a/docs/.vuepress/sidebar/zh-CN.js
+++ b/docs/.vuepress/sidebar/zh-CN.js
@@ -32,11 +32,11 @@ module.exports = [
title: "开始使用",
directoryPath: "getting-started/",
children: [
- "basic-usage",
"advance-usage",
+ "basic-usage",
"best-practice",
- "data-partition",
"data-model-rollup",
+ "data-partition",
"hit-the-rollup",
],
},
@@ -48,15 +48,16 @@ module.exports = [
title: "数据导入",
directoryPath: "load-data/",
children: [
- "load-manual",
+ "batch-delete-manual",
"broker-load-manual",
- "stream-load-manual",
- "routine-load-manual",
- "insert-into-manual",
- "spark-load-manual",
"delete-manual",
+ "insert-into-manual",
"load-json-format",
- "batch-delete-manual",
+ "load-manual",
+ "routine-load-manual",
+ "sequence-column-manual",
+ "spark-load-manual",
+ "stream-load-manual",
],
sidebarDepth: 2,
},
@@ -65,10 +66,10 @@ module.exports = [
directoryPath: "alter-table/",
children: [
"alter-table-bitmap-index",
+ "alter-table-replace-table",
"alter-table-rollup",
"alter-table-schema-change",
"alter-table-temp-partition",
- "alter-table-replace-table",
],
sidebarDepth: 2,
},
@@ -120,13 +121,16 @@ module.exports = [
},
"cancel-label",
"compaction-action",
+ "connection-action",
"fe-get-log-file",
"get-load-state",
- "restore-tablet",
+ "get-tablets",
"profile-action",
- "connection-action",
"query-detail-action",
+ "restore-tablet",
"show-data-action",
+ "tablet-migration-action",
+ "tablets_distribution",
],
sidebarDepth: 1,
},
@@ -145,8 +149,8 @@ module.exports = [
title: "监控项",
directoryPath: "monitor-metrics/",
children: [
- "fe-metrics",
"be-metrics",
+ "fe-metrics",
],
},
],
@@ -156,8 +160,8 @@ module.exports = [
title: "配置文件",
directoryPath: "config/",
children: [
- "fe_config",
"be_config",
+ "fe_config",
"user_property",
],
sidebarDepth: 1,
@@ -168,6 +172,7 @@ module.exports = [
"dynamic-partition",
"export-manual",
"outfile",
+ "partition_cache",
"privilege",
"resource-management",
"running-profile",
@@ -185,16 +190,16 @@ module.exports = [
children: [
"audit-plugin",
"doris-on-es",
+ "logstash",
"odbc-of-doris",
"plugin-development-manual",
"spark-doris-connector",
- "logstash",
{
title: "UDF",
directoryPath: "udf/",
children: [
- "user-defined-function",
"contribute-udf",
+ "user-defined-function",
{
title: "用户贡献的 UDF",
directoryPath: "contrib/",
@@ -305,6 +310,7 @@ module.exports = [
"regexp_extract",
"regexp_replace",
"repeat",
+ "reverse",
"right",
"rpad",
"split_part",
@@ -317,17 +323,18 @@ module.exports = [
title: "聚合函数",
directoryPath: "aggregate-functions/",
children: [
+ "approx_count_distinct",
"avg",
"bitmap_union",
"count",
"hll_union_agg",
"max",
"min",
- "approx_count_distinct",
"percentile_approx",
"stddev",
"stddev_samp",
"sum",
+ "topn",
"var_samp",
"variance",
],
@@ -342,13 +349,14 @@ module.exports = [
"bitmap_from_string",
"bitmap_has_any",
"bitmap_hash",
+ "bitmap_intersect",
"bitmap_or",
"bitmap_xor",
"bitmap_not",
"bitmap_to_string",
- "to_bitmap",
- "bitmap_intersect",
"bitmap_union",
+ "bitmap_xor",
+ "to_bitmap",
],
},
{
@@ -430,9 +438,9 @@ module.exports = [
"CREATE MATERIALIZED VIEW",
"CREATE REPOSITORY",
"CREATE RESOURCE",
+ "CREATE TABLE LIKE",
"CREATE TABLE",
"CREATE VIEW",
- "create-function",
"DROP DATABASE",
"DROP INDEX",
"DROP MATERIALIZED VIEW",
@@ -440,13 +448,14 @@ module.exports = [
"DROP RESOURCE",
"DROP TABLE",
"DROP VIEW",
- "drop-function",
"HLL",
"RECOVER",
"RESTORE",
- "show-functions",
"SHOW RESOURCES",
"TRUNCATE TABLE",
+ "create-function",
+ "drop-function",
+ "show-functions",
],
},
{
@@ -458,16 +467,15 @@ module.exports = [
"DELETE",
"EXPORT",
"GROUP BY",
- "insert",
"LOAD",
"MINI LOAD",
"MULTI LOAD",
- "alter-routine-load",
"PAUSE ROUTINE LOAD",
"RESUME ROUTINE LOAD",
"ROUTINE LOAD",
"SHOW ALTER",
"SHOW BACKUP",
+ "SHOW CREATE FUNCTION",
"SHOW DATA",
"SHOW DATABASES",
"SHOW DELETE",
@@ -478,8 +486,8 @@ module.exports = [
"SHOW PROPERTY",
"SHOW REPOSITORIES",
"SHOW RESTORE",
- "SHOW ROUTINE LOAD",
"SHOW ROUTINE LOAD TASK",
+ "SHOW ROUTINE LOAD",
"SHOW SNAPSHOT",
"SHOW TABLES",
"SHOW TABLET",
@@ -487,6 +495,8 @@ module.exports = [
"SPARK LOAD",
"STOP ROUTINE LOAD",
"STREAM LOAD",
+ "alter-routine-load",
+ "insert",
],
},
{
@@ -524,20 +534,20 @@ module.exports = [
directoryPath: "developer-guide/",
children: [
"debug-tool",
- "format-code",
+ "fe-eclipse-dev",
"fe-idea-dev",
- "fe-eclipse-dev"
+ "format-code",
],
},
{
title: "Apache 社区",
directoryPath: "community/",
children: [
+ "committer-guide",
"gitter",
"how-to-contribute",
"members",
"pull-request",
- "committer-guide",
"release-process",
"subscribe-mail-list",
"verify-apache-release",
diff --git a/docs/zh-CN/sql-reference/sql-statements/Data Definition/ALTER
TABLE.md b/docs/zh-CN/sql-reference/sql-statements/Data Definition/ALTER
TABLE.md
index 32e43a4..e986723 100644
--- a/docs/zh-CN/sql-reference/sql-statements/Data Definition/ALTER TABLE.md
+++ b/docs/zh-CN/sql-reference/sql-statements/Data Definition/ALTER TABLE.md
@@ -220,7 +220,7 @@ under the License.
[table]
1. 修改表的默认副本数量, 新建分区副本数量默认使用此值
- ATLER TABLE example_db.my_table
+ ALTER TABLE example_db.my_table
SET ("default.replication_num" = "2");
2. 修改单分区表的实际副本数量(只限单分区表)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]