gustavodemorais commented on code in PR #28211:
URL: https://github.com/apache/flink/pull/28211#discussion_r3289541980


##########
docs/content.zh/docs/sql/reference/ddl/alter.md:
##########
@@ -538,6 +556,19 @@ ALTER DATABASE [catalog_name.]db_name SET (key1=val1, 
key2=val2, ...)
 
 在数据库中设置一个或多个属性。若个别属性已经在数据库中设定,将会使用新值覆盖旧值。
 
+**Key handling:**
+- Properties not listed in the statement are preserved.
+- If the same key appears multiple times in the list, the last value wins and 
a warning is logged.
+- An empty option list `SET ()` is accepted and treated as a no-op.
+

Review Comment:
   nit
   ```suggestion
   - An empty option list `SET ()` is accepted and treated as a no-op.
   
   The following examples illustrate the usage of the `SET` statements.
   ```



-- 
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]

Reply via email to