morrySnow commented on code in PR #1909: URL: https://github.com/apache/doris-website/pull/1909#discussion_r1925243380
########## docs/sql-manual/sql-statements/data-modification/load-and-export/CLEAN-LABEL.md: ########## @@ -26,31 +26,46 @@ under the License. ## Description -For manual cleanup of historical load jobs. After cleaning, the Label can be reused. +Used to manually clean up the labels of historical import jobs. After cleaning up, the labels can be reused. +Commonly used in some automatic import tasks set by programs. When repeated execution, set the label of the imported fixed string. +Before each import task is initiated, execute the statement to clean up the label. -Syntax: +## Syntax ```sql CLEAN LABEL [label] FROM db; Review Comment: ```suggestion CLEAN LABEL [<label>] FROM <db>; ``` ########## docs/sql-manual/sql-statements/data-modification/load-and-export/CANCEL-EXPORT.md: ########## @@ -26,49 +26,69 @@ under the License. --> - ## Description -This statement is used to undo an export job for the specified label. Or batch undo export jobs via fuzzy matching +This statement is used to undo an export job for the specified label. Or batch undo export jobs via fuzzy matching. + +## Syntax ```sql -CANCEL EXPORT +CANCEL EXPORT [FROM db_name] Review Comment: 1. 参数部分需要加尖括号 ```suggestion [FROM <db_name>] ``` ########## docs/sql-manual/sql-statements/data-modification/load-and-export/CANCEL-EXPORT.md: ########## @@ -26,49 +26,69 @@ under the License. --> - ## Description -This statement is used to undo an export job for the specified label. Or batch undo export jobs via fuzzy matching +This statement is used to undo an export job for the specified label. Or batch undo export jobs via fuzzy matching. + +## Syntax ```sql -CANCEL EXPORT +CANCEL EXPORT [FROM db_name] WHERE [LABEL = "export_label" | LABEL like "label_pattern" | STATE = "PENDING/IN_QUEUE/EXPORTING"] ``` -## Example +## Optional Parameters + +- `db_name` Review Comment: 1. 使用有序列表 2. 需要尖括号包裹 3. 需要加粗 ```suggestion - **1. `<db_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]
