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


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/date-time-functions/unix-timestamp.md:
##########
@@ -34,22 +53,28 @@ UNIX_TIMESTAMP([DATETIME date[, STRING fmt]])
 ## 返回值
 根据输入返回两种类型
 
-1.若是输入的 `date` (只有 datetime 类型才可以有 scale 不为零) scale 不为 0 或者带有 `format` 参数
+1.若是输入的 date_or_time_expr 为 datetime 类型且 scale 不为零或者带有 format 参数
 返回一个时间戳,类型为 Decimal,最高六位小数精度
 
-2.若是输入的 `date` scale 为 0 并且不带有 `format` 参数
+2.若是输入的 date_or_time_expr 或 scale 为 0 并且不带有 format 参数
 返回一个时间戳,类型为 INT
 
-支持的输入范围为 '1970-01-01 00:00:00.000000 UTC' 至 '9999-12-31 23:59:59.999999 
UTC'。早于最小值的时间返回 0。
+将输入时间转换为当前输入时间所对应的时间戳,其实时间为 1970-01-01 00:00:00.

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