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


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/date-time-functions/yearweek.md:
##########
@@ -27,35 +25,71 @@
 |6    |星期日       |1-53         |这一年的日期所占的天数大于等于 4 天的第一个星期|
 |7    |星期一       |1-53         |这一年中的第一个星期一所在的星期             |
 
-参数为 Date 或者 Datetime 类型
+该函数与 mysql 中的 [yearweek 
函数](https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_yearweek)
 行为一致
 
-## 举例
+## 语法
 
+```sql
+YEARWEEK(DATE <date_or_time_expr>[, INT mode])

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