Merge branch '3.0' of https://github.com/taosdata/TDengine into feat/tdlite
This commit is contained in:
commit
1fcc9ff151
|
@ -11,7 +11,19 @@ This document describes how to install TDengine in a Docker container and perfor
|
||||||
|
|
||||||
## Run TDengine
|
## Run TDengine
|
||||||
|
|
||||||
If Docker is already installed on your computer, run the following command:
|
If Docker is already installed on your computer, pull the latest TDengine Docker container image:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
Or the container image of specific version:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:3.0.1.4
|
||||||
|
```
|
||||||
|
|
||||||
|
And then run the following command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
||||||
|
|
|
@ -864,7 +864,7 @@ INTERP(expr)
|
||||||
- `INTERP` is used to get the value that matches the specified time slice from a column. If no such value exists an interpolation value will be returned based on `FILL` parameter.
|
- `INTERP` is used to get the value that matches the specified time slice from a column. If no such value exists an interpolation value will be returned based on `FILL` parameter.
|
||||||
- The input data of `INTERP` is the value of the specified column and a `where` clause can be used to filter the original data. If no `where` condition is specified then all original data is the input.
|
- The input data of `INTERP` is the value of the specified column and a `where` clause can be used to filter the original data. If no `where` condition is specified then all original data is the input.
|
||||||
- The output time range of `INTERP` is specified by `RANGE(timestamp1,timestamp2)` parameter, with timestamp1<=timestamp2. timestamp1 is the starting point of the output time range and must be specified. timestamp2 is the ending point of the output time range and must be specified.
|
- The output time range of `INTERP` is specified by `RANGE(timestamp1,timestamp2)` parameter, with timestamp1<=timestamp2. timestamp1 is the starting point of the output time range and must be specified. timestamp2 is the ending point of the output time range and must be specified.
|
||||||
- The number of rows in the result set of `INTERP` is determined by the parameter `EVERY`. Starting from timestamp1, one interpolation is performed for every time interval specified `EVERY` parameter.
|
- The number of rows in the result set of `INTERP` is determined by the parameter `EVERY`. Starting from timestamp1, one interpolation is performed for every time interval specified `EVERY` parameter. The parameter `EVERY` must be an integer, with no quotes, with a time unit of: b(nanosecond), u(microsecond), a(millisecond)), s(second), m(minute), h(hour), d(day), or w(week). For example, `EVERY(500a)` will interpolate every 500 milliseconds.
|
||||||
- Interpolation is performed based on `FILL` parameter.
|
- Interpolation is performed based on `FILL` parameter.
|
||||||
- `INTERP` can only be used to interpolate in single timeline. So it must be used with `partition by tbname` when it's used on a STable.
|
- `INTERP` can only be used to interpolate in single timeline. So it must be used with `partition by tbname` when it's used on a STable.
|
||||||
- Pseudo column `_irowts` can be used along with `INTERP` to return the timestamps associated with interpolation points(support after version 3.0.1.4).
|
- Pseudo column `_irowts` can be used along with `INTERP` to return the timestamps associated with interpolation points(support after version 3.0.1.4).
|
||||||
|
|
|
@ -8,7 +8,19 @@ description: 使用 Docker 快速体验 TDengine 的高效写入和查询
|
||||||
|
|
||||||
## 启动 TDengine
|
## 启动 TDengine
|
||||||
|
|
||||||
如果已经安装了 Docker,只需执行下面的命令:
|
如果已经安装了 Docker,首先拉取最新的 TDengine 容器镜像:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
或者指定版本的容器镜像:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull tdengine/tdengine:3.0.1.4
|
||||||
|
```
|
||||||
|
|
||||||
|
然后只需执行下面的命令:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
docker run -d -p 6030:6030 -p 6041:6041 -p 6043-6049:6043-6049 -p 6043-6049:6043-6049/udp tdengine/tdengine
|
||||||
|
|
Loading…
Reference in New Issue