morrySnow commented on code in PR #1903: URL: https://github.com/apache/doris-website/pull/1903#discussion_r1928070981
########## docs/sql-manual/sql-statements/catalog/CREATE-CATALOG.md: ########## @@ -29,10 +29,10 @@ under the License. This statement is used to create an external catalog -Syntax: +## Syntax ```sql -CREATE CATALOG [IF NOT EXISTS] catalog_name [comment] +CREATE CATALOG [IF NOT EXISTS] <catalog_name> [comment] PROPERTIES ("key"="value", ...); Review Comment: 参数都要被尖括号包裹 ```suggestion CREATE CATALOG [IF NOT EXISTS] <catalog_name> [ COMMENT <comment>] PROPERTIES ("<key>"="<value>", ...); ``` ########## docs/sql-manual/sql-statements/catalog/ALTER-CATALOG.md: ########## @@ -25,72 +25,61 @@ specific language governing permissions and limitations under the License. --> +## Description +This statement is used to set properties of the specified catalog. (administrator only) Review Comment: ```suggestion This statement is used to set properties of the specified catalog. ``` ########## docs/sql-manual/sql-statements/catalog/CREATE-CATALOG.md: ########## @@ -29,10 +29,10 @@ under the License. This statement is used to create an external catalog -Syntax: +## Syntax ```sql -CREATE CATALOG [IF NOT EXISTS] catalog_name [comment] +CREATE CATALOG [IF NOT EXISTS] <catalog_name> [comment] PROPERTIES ("key"="value", ...); ``` Review Comment: 缺少参数章节 ########## docs/sql-manual/sql-statements/catalog/ALTER-CATALOG.md: ########## @@ -25,72 +25,61 @@ specific language governing permissions and limitations under the License. --> +## Description +This statement is used to set properties of the specified catalog. (administrator only) +1) Rename the catalog Review Comment: 放到语法章节 ########## docs/sql-manual/sql-statements/catalog/ALTER-CATALOG.md: ########## @@ -25,72 +25,61 @@ specific language governing permissions and limitations under the License. --> +## Description +This statement is used to set properties of the specified catalog. (administrator only) +1) Rename the catalog Review Comment: 缺少权限控制章节 ########## docs/sql-manual/sql-statements/catalog/ALTER-CATALOG.md: ########## @@ -25,72 +25,61 @@ specific language governing permissions and limitations under the License. --> +## Description +This statement is used to set properties of the specified catalog. (administrator only) +1) Rename the catalog Review Comment: 缺少参数章节 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org