wuchong commented on a change in pull request #10738:
[FLINK-15385][table][docs] Translate SQL section of Table API into Chinese
URL: https://github.com/apache/flink/pull/10738#discussion_r362363610
##########
File path: docs/dev/table/sql/alter.zh.md
##########
@@ -110,28 +110,28 @@ NewOrders
</div>
</div>
-## ALTER TABLE
+## 修改表
-* Rename Table
+* 重命名表
{% highlight sql %}
ALTER TABLE [catalog_name.][db_name.]table_name RENAME TO new_table_name
{% endhighlight %}
-Rename the given table name to another new table name.
+把原有的表名更改为新的表名。
-* Set or Alter Table Properties
+* 设置或修改表属性
{% highlight sql %}
ALTER TABLE [catalog_name.][db_name.]table_name SET (key1=val1, key2=val2, ...)
{% endhighlight %}
-Set one or more properties in the specified table. If a particular property is
already set in the table, override the old value with the new one.
+为指定的表设置一个或多个属性。若个别属性已经存在于表中,则使用新的值覆盖旧的值。
-## ALTER DATABASE
+## 修改数据库
{% highlight sql %}
ALTER DATABASE [catalog_name.]db_name SET (key1=val1, key2=val2, ...)
{% endhighlight %}
-Set one or more properties in the specified database. If a particular property
is already set in the database, override the old value with the new one.
\ No newline at end of file
+在数据库中设置一个或读个属性。若个别属性已经在数据库中设定,将会使用新值覆盖旧值。
Review comment:
```suggestion
在数据库中设置一个或多个属性。若个别属性已经在数据库中设定,将会使用新值覆盖旧值。
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services