This is an automated email from the ASF dual-hosted git repository.
diwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 8b2aa9f3a2 fix date_sub function doc (#16250)
8b2aa9f3a2 is described below
commit 8b2aa9f3a227c5977b77904a9a79f03a09366c41
Author: yongkang.zhong <[email protected]>
AuthorDate: Mon Jan 30 21:53:45 2023 +0800
fix date_sub function doc (#16250)
---
docs/en/docs/sql-manual/sql-functions/date-time-functions/date_sub.md | 2 +-
.../zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_sub.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
b/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
index 8f1b4459c8..db90993e21 100644
--- a/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
+++ b/docs/en/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
@@ -28,7 +28,7 @@ under the License.
### Description
#### Syntax
-`INT DATE_SUB(DATETIME date,INTERVAL expr type)`
+`DATETIME DATE_SUB(DATETIME date,INTERVAL expr type)`
Subtract the specified time interval from the date
diff --git
a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
b/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
index 6ca944be36..53a8c89dd2 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/date_sub.md
@@ -28,7 +28,7 @@ under the License.
### description
#### Syntax
-`INT DATE_SUB(DATETIME date,INTERVAL expr type)`
+`DATETIME DATE_SUB(DATETIME date,INTERVAL expr type)`
从日期减去指定的时间间隔
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]