snuyanzin commented on code in PR #27842:
URL: https://github.com/apache/flink/pull/27842#discussion_r3000295442


##########
docs/data/sql_functions_zh.yml:
##########
@@ -762,6 +784,7 @@ temporal:
     description: |
       将时间戳 timestamp 转换为日期格式字符串 string 指定格式的字符串值。格式字符串与 Java 的 
SimpleDateFormat 兼容。
   - sql: TIMESTAMPADD(timeintervalunit, interval, timepoint)
+    description: Returns the timestamp with the interval added. The unit for 
the interval is given by the first argument, which should be one of the 
following values. SECOND, MINUTE, HOUR, DAY, MONTH, or YEAR.
   - sql: TIMESTAMPDIFF(timepointunit, timepoint1, timepoint2)

Review Comment:
   after this https://github.com/apache/flink/pull/27678
   probably `WEEK` and `QUARTER` should also work
   better to check first
   if works then just add here
   if not, then create a new jira for that



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

Reply via email to