zclllyybb commented on code in PR #3009:
URL: https://github.com/apache/doris-website/pull/3009#discussion_r2480736379


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/date-time-functions/utc-timestamp.md:
##########
@@ -13,22 +13,37 @@ UTC_TIMESTAMP 函数用于返回当前 UTC 时区在所的日期时间。该函
 ## 语法
 
 ```sql
-UTC_TIMESTAMP()
+UTC_TIMESTAMP([`<precision>`])
 ```
 
+## 参数
+
+| 参数                         | 描述                          |
+|----------------------------|-----------------------------|
+| `<precision>` | 返回的时间值的精度,支持[0, 6]范围内的整数类型。仅接受整数类型常量。 |
+
 ## 返回值
-返回当前 UTC 日期时间,类型为 DATETIME.
+返回当前 UTC 日期时间.
+
+根据使用场景的不同,返回类型可能为 DATETIME 类型(格式:YYYY-MM-DD 
HH:mm:ss[.ssssss])或整数类型(格式:YYYYMMDDHHmmss, 在类型转换时,会自动丢弃毫秒数)。

Review Comment:
   其他函数同理



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/date-time-functions/utc-timestamp.md:
##########
@@ -13,22 +13,37 @@ UTC_TIMESTAMP 函数用于返回当前 UTC 时区在所的日期时间。该函
 ## 语法
 
 ```sql
-UTC_TIMESTAMP()
+UTC_TIMESTAMP([`<precision>`])
 ```
 
+## 参数
+
+| 参数                         | 描述                          |
+|----------------------------|-----------------------------|
+| `<precision>` | 返回的时间值的精度,支持[0, 6]范围内的整数类型。仅接受整数类型常量。 |
+
 ## 返回值
-返回当前 UTC 日期时间,类型为 DATETIME.
+返回当前 UTC 日期时间.
+
+根据使用场景的不同,返回类型可能为 DATETIME 类型(格式:YYYY-MM-DD 
HH:mm:ss[.ssssss])或整数类型(格式:YYYYMMDDHHmmss, 在类型转换时,会自动丢弃毫秒数)。

Review Comment:
   这个不会返回整数类型,是你调用的”+“做了类型转换



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to