danny0405 commented on a change in pull request #11190: [FLINK-16089][docs] 
Translate "Data Type" page of "Table API & SQL" into Chinese
URL: https://github.com/apache/flink/pull/11190#discussion_r383765739
 
 

 ##########
 File path: docs/dev/table/types.zh.md
 ##########
 @@ -418,25 +383,21 @@ DataTypes.DECIMAL(p, s)
 
 </div>
 
-The type can be declared using `DECIMAL(p, s)` where `p` is the number of 
digits in a
-number (*precision*) and `s` is the number of digits to the right of the 
decimal point
-in a number (*scale*). `p` must have a value between `1` and `38` (both 
inclusive). `s`
-must have a value between `0` and `p` (both inclusive). The default value for 
`p` is 10.
-The default value for `s` is `0`.
+此类型用 `DECIMAL(p, s)` 声明,其中 `p` 是数字的位数(*精度*),`s` 是数字中小数点右边的位数(*数量*)。`p` 的值必须介于 
`1` 和 `38` 之间(含边界值)。`s` 的值必须介于 `0` 和 `p` 之间(含边界值)。其中 `p` 的缺省值是 `10`,`s` 的缺省值是 
`0`。
 
 Review comment:
   scala -> 尾数

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

Reply via email to