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 6cbefa9  [Docs] Update materialized view document (#6710)
6cbefa9 is described below

commit 6cbefa9f10632f5a715de38555876dd18f254c17
Author: EmmyMiao87 <[email protected]>
AuthorDate: Wed Oct 13 11:35:23 2021 +0800

    [Docs] Update materialized view document (#6710)
    
    * [Docs] Update materialized view document
---
 docs/en/administrator-guide/materialized_view.md    | 14 +++-----------
 docs/zh-CN/administrator-guide/materialized_view.md | 16 ++++------------
 2 files changed, 7 insertions(+), 23 deletions(-)

diff --git a/docs/en/administrator-guide/materialized_view.md 
b/docs/en/administrator-guide/materialized_view.md
index 2cad394..6358a89 100644
--- a/docs/en/administrator-guide/materialized_view.md
+++ b/docs/en/administrator-guide/materialized_view.md
@@ -71,11 +71,7 @@ Therefore, users need to combine their own query statements 
and data dimension i
 
 The second point is that in the actual analysis query, not all dimensional 
analysis will be covered. Therefore, it is enough to create a materialized view 
for the commonly used combination of dimensions, so as to achieve a space and 
time balance.
 
-The materialized view can be created by the following command. Creating a 
materialized view is an asynchronous operation, which means that after the user 
successfully submits the creation task, Doris will calculate the existing data 
in the background until the creation is successful.
-
-```
-CREATE MATERIALIZED VIEW
-```
+Creating a materialized view is an asynchronous operation, which means that 
after the user successfully submits the creation task, Doris will calculate the 
existing data in the background until the creation is successful.
 
 The specific syntax can be viewed through the following command:
 
@@ -150,11 +146,7 @@ You can see that the current `mv_test` table has three 
materialized views: mv\_1
 
 ### Delete materialized view
 
-If the user no longer needs the materialized view, you can delete the 
materialized view with the following command:
-
-```
-DROP MATERIALIZED VIEW
-```
+If the user no longer needs the materialized view, you can delete the 
materialized view by 'DROP' commen.
 
 The specific syntax can be viewed through the following command:
 
@@ -491,4 +483,4 @@ This problem can be solved by creating a materialized view 
with k3 as the first
 ## Error
 1. DATA_QUALITY_ERR: "The data quality does not satisfy, please check your 
data"
 Materialized view creation failed due to data quality issues.
-Note: The bitmap type only supports positive integers. If there are negative 
Numbers in the original data, the materialized view will fail to be created
\ No newline at end of file
+Note: The bitmap type only supports positive integers. If there are negative 
Numbers in the original data, the materialized view will fail to be created
diff --git a/docs/zh-CN/administrator-guide/materialized_view.md 
b/docs/zh-CN/administrator-guide/materialized_view.md
index febd2d6..601957d 100644
--- a/docs/zh-CN/administrator-guide/materialized_view.md
+++ b/docs/zh-CN/administrator-guide/materialized_view.md
@@ -72,13 +72,9 @@ Doris 系统提供了一整套对物化视图的 DDL 语法,包括创建,查
 
 第二点就是,在实际的分析查询中,并不会覆盖到所有的维度分析。所以给常用的维度组合创建物化视图即可,从而到达一个空间和时间上的平衡。
 
-通过下面命令就可以创建物化视图了。创建物化视图是一个异步的操作,也就是说用户成功提交创建任务后,Doris 会在后台对存量的数据进行计算,直到创建成功。
+创建物化视图是一个异步的操作,也就是说用户成功提交创建任务后,Doris 会在后台对存量的数据进行计算,直到创建成功。
 
-```
-CREATE MATERIALIZED VIEW
-```
-
-具体的语法可以通过下面命令查看:
+具体的语法可以通过 Mysql 协议链接 Doris 并输入下面命令查看:
 
 ```
 HELP CREATE MATERIALIZED VIEW
@@ -151,13 +147,9 @@ MySQL [test]> desc mv_test all;
 
 ### 删除物化视图
 
-如果用户不再需要物化视图,则可以通过下面命令删除物化视图:
-
-```
-DROP MATERIALIZED VIEW
-```
+如果用户不再需要物化视图,则可以通过命令删除物化视图。
 
-具体的语法可以通过下面命令查看:
+具体的语法可以通过 Mysql 协议链接 Doris 输入下面命令查看:
 
 ```
 HELP DROP MATERIALIZED VIEW

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to