You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by lt...@apache.org on 2019/05/24 12:31:03 UTC
[incubator-iotdb] branch master updated: modify error statement in
doc (#182)
This is an automated email from the ASF dual-hosted git repository.
lta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 5b26774 modify error statement in doc (#182)
5b26774 is described below
commit 5b26774ae5dab101efe7be5aac0f27214fd18a1d
Author: Tianan Li <li...@163.com>
AuthorDate: Fri May 24 20:30:58 2019 +0800
modify error statement in doc (#182)
---
docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md b/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md
index db1b72f..6188c3f 100644
--- a/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md
+++ b/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md
@@ -470,7 +470,7 @@ The MEAN function returns the arithmetic mean value of the choosen timeseries ov
```
SELECT MEAN (Path) (COMMA MEAN (Path))* FROM <FromClause> [WHERE <WhereClause>]?
-Eg. SELECT MEAN (status), MEAN (temperature) FROM root.ln.wf01.wt01 WHERE root.ln.wf01.wt01.temperature < 24
+Eg. SELECT MEAN (temperature) FROM root.ln.wf01.wt01 WHERE root.ln.wf01.wt01.temperature < 24
Note: the statement needs to satisfy this constraint: <PrefixPath> + <Path> = <Timeseries>
```
@@ -513,7 +513,7 @@ The SUM function returns the sum of the the choosen timeseries (oen or more) ove
```
SELECT SUM(Path) (COMMA SUM(Path))* FROM <FromClause> [WHERE <WhereClause>]?
-Eg. SELECT SUM(status), SUM(temperature) FROM root.ln.wf01.wt01 WHERE root.ln.wf01.wt01.temperature < 24
+Eg. SELECT SUM(temperature) FROM root.ln.wf01.wt01 WHERE root.ln.wf01.wt01.temperature < 24
Note: the statement needs to satisfy this constraint: <PrefixPath> + <Path> = <Timeseries>
```