coder-zjh commented on code in PR #20724:
URL: https://github.com/apache/flink/pull/20724#discussion_r970276568


##########
docs/content.zh/docs/dev/table/types.md:
##########
@@ -142,56 +142,54 @@ val t: DataType = 
DataTypes.ARRAY(DataTypes.INT().notNull()).bridgedTo(classOf[A
 API is extended. Users of predefined sources/sinks/functions do not need to 
define such hints. Hints within
 a table program (e.g. `field.cast(TIMESTAMP(3).bridgedTo(Timestamp.class))`) 
are ignored.
 
-List of Data Types
+数据类型列表
 ------------------
-
-This section lists all pre-defined data types.
+这部分列举了所有预定义的数据类型。
 {{< tabs "datatypesimport" >}}
 {{< tab "Java/Scala" >}}
-For the JVM-based Table API those types are also available in 
`org.apache.flink.table.api.DataTypes`.
+Java/Scala Table API 的数据类型详见: `org.apache.flink.table.api.DataTypes`.
 {{< /tab >}}
 {{< tab "Python" >}}
-For the Python Table API, those types are available in 
`pyflink.table.types.DataTypes`.
+Python Table API, 的数据类型详见: `pyflink.table.types.DataTypes`.
 {{< /tab >}}
 {{< /tabs >}}
 
-The default planner supports the following set of SQL types:
-
-| Data Type        | Remarks for Data Type                              |
-|:-----------------|:---------------------------------------------------|
-| `CHAR`           |                                                    |
-| `VARCHAR`        |                                                    |
-| `STRING`         |                                                    |
-| `BOOLEAN`        |                                                    |
-| `BINARY`         |                                                    |
-| `VARBINARY`      |                                                    |
-| `BYTES`          |                                                    |
-| `DECIMAL`        | Supports fixed precision and scale.                |
-| `TINYINT`        |                                                    |
-| `SMALLINT`       |                                                    |
-| `INTEGER`        |                                                    |
-| `BIGINT`         |                                                    |
-| `FLOAT`          |                                                    |
-| `DOUBLE`         |                                                    |
-| `DATE`           |                                                    |
-| `TIME`           | Supports only a precision of `0`.                  |
-| `TIMESTAMP`      |                                                    |
-| `TIMESTAMP_LTZ`  |                                                    |
-| `INTERVAL`       | Supports only interval of `MONTH` and `SECOND(3)`. |
-| `ARRAY`          |                                                    |
-| `MULTISET`       |                                                    |
-| `MAP`            |                                                    |
-| `ROW`            |                                                    |
-| `RAW`            |                                                    |
-| Structured types | Only exposed in user-defined functions yet.        |
-
-### Character Strings
+默认 `Planner` 支持下列 SQL 数据类型:
+
+| 数据类型             | 备注                                    |
+|:-----------------|:--------------------------------------|
+| `CHAR`           |                                       |
+| `VARCHAR`        |                                       |
+| `STRING`         |                                       |
+| `BOOLEAN`        |                                       |
+| `BINARY`         |                                       |
+| `VARBINARY`      |                                       |
+| `BYTES`          |                                       |
+| `DECIMAL`        | 支持固定精度和范围。                            |
+| `TINYINT`        |                                       |
+| `SMALLINT`       |                                       |
+| `INTEGER`        |                                       |
+| `BIGINT`         |                                       |
+| `FLOAT`          |                                       |
+| `DOUBLE`         |                                       |
+| `DATE`           |                                       |
+| `TIME`           | 仅支持到0.的精度。                            |

Review Comment:
   OK.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to