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


##########
docs/sql-manual/sql-functions/scalar-functions/date-time-functions/timestamp.md:
##########
@@ -12,29 +12,38 @@
 ## Description
 
 The TIMESTAMP function converts a datetime format string to DATETIME type.
+If a second time parameter exists, it calculates the sum of the two parameters 
and returns the result in DATETIME format.
 
 For specific datetime formats, please refer to [datetime 
conversion](../../../../sql-manual/basic-element/sql-data-types/conversion/datetime-conversion).
 
-This function differs from the [timestamp 
function](https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_timestamp)
 in MySQL. Doris currently does not support a second time parameter for 
datetime addition/subtraction.
+This function behaves the same way as the [timestamp 
function](https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_timestamp)
 in MySQL. 
+
+:::note
+Two parameter versions are supported from 4.0.3

Review Comment:
   dev文档不需要标注



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