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

snuyanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e2998f6277 [hotfix][docs] `WITH` in `CREATE DATABASE` is optional
8e2998f6277 is described below

commit 8e2998f6277688aa9c0bde7ad7b05c766c6e184a
Author: Sergey Nuyanzin <snuyan...@gmail.com>
AuthorDate: Fri Aug 15 22:17:29 2025 +0200

    [hotfix][docs] `WITH` in `CREATE DATABASE` is optional
---
 docs/content.zh/docs/dev/table/sql/create.md | 2 +-
 docs/content/docs/dev/table/sql/create.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/content.zh/docs/dev/table/sql/create.md 
b/docs/content.zh/docs/dev/table/sql/create.md
index 779ea6e6e72..a42f7abe17f 100644
--- a/docs/content.zh/docs/dev/table/sql/create.md
+++ b/docs/content.zh/docs/dev/table/sql/create.md
@@ -822,7 +822,7 @@ catalog 属性一般用于存储关于这个 catalog 的额外的信息。
 ```sql
 CREATE DATABASE [IF NOT EXISTS] [catalog_name.]db_name
   [COMMENT database_comment]
-  WITH (key1=val1, key2=val2, ...)
+  [WITH (key1=val1, key2=val2, ...)]
 ```
 
 根据给定的表属性创建数据库。若数据库中已存在同名表会抛出异常。
diff --git a/docs/content/docs/dev/table/sql/create.md 
b/docs/content/docs/dev/table/sql/create.md
index 10d570a6e34..60681eeb89e 100644
--- a/docs/content/docs/dev/table/sql/create.md
+++ b/docs/content/docs/dev/table/sql/create.md
@@ -819,7 +819,7 @@ Check out more details at [Catalogs]({{< ref 
"docs/dev/table/catalogs" >}}).
 ```sql
 CREATE DATABASE [IF NOT EXISTS] [catalog_name.]db_name
   [COMMENT database_comment]
-  WITH (key1=val1, key2=val2, ...)
+  [WITH (key1=val1, key2=val2, ...)]
 ```
 
 Create a database with the given database properties. If a database with the 
same name already exists in the catalog, an exception is thrown.

Reply via email to