yangyichao-mango commented on a change in pull request #12313:
URL: https://github.com/apache/flink/pull/12313#discussion_r431091182
##########
File path: docs/dev/table/sql/create.zh.md
##########
@@ -208,14 +215,14 @@ CREATE TABLE Orders (
**注意:** 使用 `CREATE TABLE` 语句注册的表均可用作 table source 和 table sink。 在被 DML
语句引用前,我们无法决定其实际用于 source 抑或是 sink。
-**LIKE clause**
+**LIKE**
+
+`LIKE` 子句来源于两种 SQL 特性的变体/组合(Feature T171,“表定义中的LIKE语法” 和 Feature
T173,“表定义中的LIKE语法扩展”)。LIKE 子句可以基于现有表的定义去创建新表,并且可以扩展或排除原始表中的某些部分。与 SQL 标准相反,LIKE
子句必须在 CREATE 语句中定义。这是因为 LIKE 子句可以应用于表定义的多个部分,而不仅仅是 schema 部分。
-The `LIKE` clause is a variant/combination of SQL features (Feature T171,
“LIKE clause in table definition” and Feature T173, “Extended LIKE clause in
table definition”). The clause can be used to create a table based on a
definition of an existing table. Additionally, users
-can extend the original table or exclude certain parts of it. In contrast to
the SQL standard the clause must be defined at the top-level of a CREATE
statement. That is because the clause applies to multiple parts of the
definition and not only to the schema part.
+你可以使用该子句,重用(或覆写)指定的连接器配置属性或者可以向外部表添加 watermark 定义,例如可以向 Apache Hive 中定义的表添加
watermark 定义。
Review comment:
表的watermark定义也是可以使用like子句更改,所以这部分我理解指的不仅仅是读取可能是没有 watermark
的,我理解是无论是否定义过,都可以添加
----------------------------------------------------------------
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]