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 343c7bd [IOTDB-108]Fix mistakes in doc (#187)
343c7bd is described below
commit 343c7bd0c28e4db627a34b3fac11167f24970d78
Author: Tianan Li <[email protected]>
AuthorDate: Fri May 31 18:52:45 2019 +0800
[IOTDB-108]Fix mistakes in doc (#187)
* fix mistakes in doc
---
docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md
b/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md
index 6188c3f..4627784 100644
--- a/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md
+++ b/docs/Documentation/UserGuideV0.7.0/5-SQL Documentation.md
@@ -436,7 +436,7 @@ Note: the statement needs to satisfy this constraint:
<PrefixPath> + <Path> = <T
* FIRST
-The FIRST function returns the first point value of the choosen timeseries(oen
or more).
+The FIRST function returns the first point value of the choosen timeseries(one
or more).
```
SELECT FIRST (Path) (COMMA FIRST (Path))* FROM <FromClause> [WHERE
<WhereClause>]?
@@ -446,7 +446,7 @@ Note: the statement needs to satisfy this constraint:
<PrefixPath> + <Path> = <T
* MAX_TIME
-The MAX_TIME function returns the maximum timestamp of the the choosen
timeseries(oen or more). The result is a signed 64-bit integer, greater than 0.
+The MAX_TIME function returns the maximum timestamp of the choosen
timeseries(one or more). The result is a signed 64-bit integer, greater than 0.
```
SELECT MAX_TIME (Path) (COMMA MAX_TIME (Path))* FROM <FromClause> [WHERE
<WhereClause>]?
@@ -456,7 +456,7 @@ Note: the statement needs to satisfy this constraint:
<PrefixPath> + <Path> = <T
* MAX_VALUE
-The MAX_VALUE function returns the maximum value(lexicographically ordered) of
the the choosen timeseries (oen or more).
+The MAX_VALUE function returns the maximum value(lexicographically ordered) of
the choosen timeseries (one or more).
```
SELECT MAX_VALUE (Path) (COMMA MAX_VALUE (Path))* FROM <FromClause> [WHERE
<WhereClause>]?
@@ -476,7 +476,7 @@ Note: the statement needs to satisfy this constraint:
<PrefixPath> + <Path> = <T
* MIN_TIME
-The MIN_TIME function returns the minimum timestamp of the the choosen
timeseries(oen or more). The result is a signed 64-bit integer, greater than 0.
+The MIN_TIME function returns the minimum timestamp of the choosen
timeseries(one or more). The result is a signed 64-bit integer, greater than 0.
```
SELECT MIN_TIME (Path) (COMMA MIN_TIME (Path))*FROM <FromClause> [WHERE
<WhereClause>]?
@@ -486,10 +486,9 @@ Note: the statement needs to satisfy this constraint:
<PrefixPath> + <Path> = <T
* MIN_VALUE
-The MIN_VALUE function returns the minimum value(lexicographically ordered) of
the the choosen timeseries (oen or more).
+The MIN_VALUE function returns the minimum value(lexicographically ordered) of
the choosen timeseries (one or more).
```
-MIN_VALUE函数返回的是该列按字典序排序的最小值。
SELECT MIN_VALUE (Path) (COMMA MIN_VALUE (Path))* FROM <FromClause> [WHERE
<WhereClause>]?
Eg. SELECT MIN_VALUE(status),MIN_VALUE(temperature) FROM root.ln.wf01.wt01
WHERE root.ln.wf01.wt01.temperature < 24
Note: the statement needs to satisfy this constraint: <PrefixPath> + <Path> =
<Timeseries>
@@ -509,7 +508,7 @@ Eg. SELECT COUNT(temperature) FROM root.ln.wf01.wt01 WHERE
time < NOW()
```
* SUM
-The SUM function returns the sum of the the choosen timeseries (oen or more)
over a specified period of time. The timeseries must be int32, int64, float,
double type, and the other types are not to be calculated. The result is a
double type number.
+The SUM function returns the sum of the choosen timeseries (one or more) over
a specified period of time. The timeseries must be int32, int64, float, double
type, and the other types are not to be calculated. The result is a double type
number.
```
SELECT SUM(Path) (COMMA SUM(Path))* FROM <FromClause> [WHERE <WhereClause>]?