You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/04/18 11:10:53 UTC
[iotdb] branch master updated: add a notice of time_duration function to indicate some specific situations (#9594)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 1569d17634 add a notice of time_duration function to indicate some specific situations (#9594)
1569d17634 is described below
commit 1569d1763449e000cd4bd3fcb04b8d038e1dde4b
Author: wanghui42 <10...@users.noreply.github.com>
AuthorDate: Tue Apr 18 19:10:45 2023 +0800
add a notice of time_duration function to indicate some specific situations (#9594)
---
docs/UserGuide/Operators-Functions/Aggregation.md | 1 +
docs/zh/UserGuide/Operators-Functions/Aggregation.md | 1 +
2 files changed, 2 insertions(+)
diff --git a/docs/UserGuide/Operators-Functions/Aggregation.md b/docs/UserGuide/Operators-Functions/Aggregation.md
index a07d05feb1..88193a7176 100644
--- a/docs/UserGuide/Operators-Functions/Aggregation.md
+++ b/docs/UserGuide/Operators-Functions/Aggregation.md
@@ -178,3 +178,4 @@ Result:
| 1677570933|
+----------------------------+
```
+> Note: Returns 0 if there is only one data point, or null if the data point is null.
\ No newline at end of file
diff --git a/docs/zh/UserGuide/Operators-Functions/Aggregation.md b/docs/zh/UserGuide/Operators-Functions/Aggregation.md
index 81d4c7eec6..7c0219b743 100644
--- a/docs/zh/UserGuide/Operators-Functions/Aggregation.md
+++ b/docs/zh/UserGuide/Operators-Functions/Aggregation.md
@@ -159,3 +159,4 @@ select time_duration(s1) from root.db.d1
| 1677570933|
+----------------------------+
```
+> 注:若数据点只有一个,则返回0,若数据点为null,则返回null。