This is an automated email from the ASF dual-hosted git repository. lta pushed a commit to branch fix_jira_101 in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 6ab1363b9eb47b4989b180709ddbc0c8a9f18206 Author: lta <[email protected]> AuthorDate: Fri May 24 19:48:37 2019 +0800 modify error statement in doc --- 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> ```
