morrySnow commented on code in PR #1902:
URL: https://github.com/apache/doris-website/pull/1902#discussion_r1925149485


##########
docs/sql-manual/sql-statements/table-and-view/materialized-view/REFRESH-MATERIALIZED-VIEW.md:
##########
@@ -29,43 +29,71 @@ under the License.
 
 This statement is used to manually refresh the specified asynchronous 
materialized view
 
-syntax:
+## Syntax
 
 ```sql
-REFRESH MATERIALIZED VIEW mvName=multipartIdentifier (partitionSpec | COMPLETE 
| AUTO)
+REFRESH MATERIALIZED VIEW <mv_name> <refresh_type>
 ```
 
-Explanation:
+Where:
+```sql
+refresh_type
+  : [partitionSpec | COMPLETE | AUTO]

Review Comment:
   ```suggestion
     : [ <partitionSpec> | COMPLETE | AUTO ]
   ```



##########
docs/sql-manual/sql-statements/table-and-view/materialized-view/REFRESH-MATERIALIZED-VIEW.md:
##########
@@ -29,43 +29,71 @@ under the License.
 
 This statement is used to manually refresh the specified asynchronous 
materialized view
 
-syntax:
+## Syntax
 
 ```sql
-REFRESH MATERIALIZED VIEW mvName=multipartIdentifier (partitionSpec | COMPLETE 
| AUTO)
+REFRESH MATERIALIZED VIEW <mv_name> <refresh_type>
 ```
 
-Explanation:
+Where:
+```sql
+refresh_type
+  : [partitionSpec | COMPLETE | AUTO]
+```
+
+```sql
+partitionSpec
+  : PARTITIONS (<partition_name1>[ , partition_name2 ][ ... ])

Review Comment:
   ```suggestion
     : PARTITIONS (<partition_name> [, <partition_name> [, ... ] ])
   ```



##########
docs/sql-manual/sql-statements/table-and-view/materialized-view/CANCEL-MATERIALIZED-VIEW-TASK.md:
##########
@@ -29,23 +29,38 @@ under the License.
 
 This statement is used to cancel the task of materialized views
 
-syntax:
+## Syntax
 
 ```sql
-CANCEL MATERIALIZED VIEW TASK taskId=INTEGER_VALUE ON 
mvName=multipartIdentifier
+CANCEL MATERIALIZED VIEW TASK <task_id> ON <mv_name>
 ```
 
+## Required Parameters
+**<task_id>**

Review Comment:
   1. 参数要一个序号
   2. 需要加上反引号
   ```suggestion
   **1. `<task_id>`**
   ```



##########
docs/sql-manual/sql-statements/table-and-view/materialized-view/REFRESH-MATERIALIZED-VIEW.md:
##########
@@ -29,43 +29,71 @@ under the License.
 
 This statement is used to manually refresh the specified asynchronous 
materialized view
 
-syntax:
+## Syntax
 
 ```sql
-REFRESH MATERIALIZED VIEW mvName=multipartIdentifier (partitionSpec | COMPLETE 
| AUTO)
+REFRESH MATERIALIZED VIEW <mv_name> <refresh_type>
 ```
 
-Explanation:
+Where:
+```sql
+refresh_type
+  : [partitionSpec | COMPLETE | AUTO]
+```
+
+```sql
+partitionSpec
+  : PARTITIONS (<partition_name1>[ , partition_name2 ][ ... ])
+```
+
+## Required Parameters
+**<mv_name>**
+> Specifies the materialized view name.
+>
+> The materialized view name must start with a letter character (or any 
language character if unicode name support is enabled) and cannot contain 
spaces or special characters unless the entire materialized view name string is 
enclosed in backticks (e.g., `My Object`).
+>
+> The materialized view name cannot use reserved keywords.
+>
+> For more details, see Reserved Keywords.
+
+**<refresh_type>**
+> Specifies the refresh type of this materialized view.
+>
+> The refresh type may be one of the partitionSpec, COMPLETE or AUTO.

Review Comment:
   缺少可选参数`<partition_name>`的说明



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to