You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2020/06/25 08:26:25 UTC

[incubator-doris] branch master updated: [Doc] Add doc of `enable_materialized_view` (#3940)

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

morningman 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 6c768f5  [Doc] Add doc of `enable_materialized_view` (#3940)
6c768f5 is described below

commit 6c768f5303725d890ba3d500f80a00adb3408f53
Author: EmmyMiao87 <52...@qq.com>
AuthorDate: Thu Jun 25 16:26:18 2020 +0800

    [Doc] Add doc of `enable_materialized_view` (#3940)
---
 docs/en/administrator-guide/config/fe_config.md    | 6 ++++++
 docs/zh-CN/administrator-guide/config/fe_config.md | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/docs/en/administrator-guide/config/fe_config.md b/docs/en/administrator-guide/config/fe_config.md
index 411076f..03b93ed 100644
--- a/docs/en/administrator-guide/config/fe_config.md
+++ b/docs/en/administrator-guide/config/fe_config.md
@@ -269,6 +269,12 @@ This configuration can play a role in certain scenarios. Assume that the initial
 
 ### `enable_materialized_view`
 
+This configuration is used to turn on and off the creation of materialized views. If set to true, the function to create a materialized view is enabled. The user can create a materialized view through the `CREATE MATERIALIZED VIEW` command. If set to false, materialized views cannot be created.
+
+If you get an error `The materialized view is coming soon` or `The materialized view is disabled` when creating the materialized view, it means that the configuration is set to false and the function of creating the materialized view is turned off. You can start to create a materialized view by modifying the configuration to true.
+
+This variable is a dynamic configuration, and users can modify the configuration through commands after the FE process starts. You can also modify the FE configuration file and restart the FE to take effect.
+
 ### `enable_metric_calculator`
 
 ### `enable_spilling`
diff --git a/docs/zh-CN/administrator-guide/config/fe_config.md b/docs/zh-CN/administrator-guide/config/fe_config.md
index 6103a05..671d7cf 100644
--- a/docs/zh-CN/administrator-guide/config/fe_config.md
+++ b/docs/zh-CN/administrator-guide/config/fe_config.md
@@ -269,6 +269,12 @@ FE 的配置项有两种方式进行配置:
 
 ### `enable_materialized_view`
 
+该配置用于开启和关闭创建物化视图功能。如果设置为 true,则创建物化视图功能开启。用户可以通过 `CREATE MATERIALIZED VIEW` 命令创建物化视图。如果设置为 false,则无法创建物化视图。
+
+如果在创建物化视图的时候报错 `The materialized view is coming soon` 或 `The materialized view is disabled` 则说明改配置被设置为了 false,创建物化视图功能关闭了。可以通过修改配置为 true 来启动创建物化视图功能。
+
+该变量为动态配置,用户可以在 FE 进程启动后,通过命令修改配置。也可以通过修改 FE 的配置文件,重启 FE 来生效。
+
 ### `enable_metric_calculator`
 
 ### `enable_spilling`


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