Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
852e8c81
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
852e8c81
编写于
5月 29, 2023
作者:
D
dapan1121
提交者:
GitHub
5月 29, 2023
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #21491 from taosdata/docs/TD-24056
docs: fix timeline function super table explaination
上级
b2d2e354
217efa83
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
1 addition
and
16 deletion
+1
-16
docs/en/12-taos-sql/10-function.md
docs/en/12-taos-sql/10-function.md
+1
-8
docs/zh/12-taos-sql/10-function.md
docs/zh/12-taos-sql/10-function.md
+0
-8
未找到文件。
docs/en/12-taos-sql/10-function.md
浏览文件 @
852e8c81
...
...
@@ -1008,8 +1008,7 @@ SAMPLE(expr, k)
**More explanations**:
This function cannot be used in expression calculation.
- Must be used with `
PARTITION BY tbname
` when it's used on a STable to force the result on each single timeline
- This function cannot be used in expression calculation.
### TAIL
...
...
@@ -1088,7 +1087,6 @@ CSUM(expr)
- Arithmetic operation can't be performed on the result of `
csum
` function
- Can only be used with aggregate functions This function can be used with supertables and standard tables.
- Must be used with `
PARTITION BY tbname
` when it's used on a STable to force the result on each single timeline
### DERIVATIVE
...
...
@@ -1112,7 +1110,6 @@ ignore_negative: {
**More explanation**:
- It can be used together with `
PARTITION BY tbname
` against a STable.
- It can be used together with a selected column. For example: select \_rowts, DERIVATIVE() from.
### DIFF
...
...
@@ -1175,7 +1172,6 @@ MAVG(expr, k)
- Arithmetic operation can't be performed on the result of `
MAVG
`.
- Can only be used with data columns, can't be used with tags. - Can't be used with aggregate functions.
- Must be used with `
PARTITION BY tbname
` when it's used on a STable to force the result on each single timeline
### STATECOUNT
...
...
@@ -1201,7 +1197,6 @@ STATECOUNT(expr, oper, val)
**More explanations**:
- Must be used together with `
PARTITION BY tbname
` when it's used on a STable to force the result into each single timeline]
- Can't be used with window operation, like interval/state_window/session_window
...
...
@@ -1229,7 +1224,6 @@ STATEDURATION(expr, oper, val, unit)
**More explanations**:
- Must be used together with `
PARTITION BY tbname
` when it's used on a STable to force the result into each single timeline]
- Can't be used with window operation, like interval/state_window/session_window
...
...
@@ -1247,7 +1241,6 @@ TWA(expr)
**Applicable table types**: standard tables and supertables
- Must be used together with `
PARTITION BY tbname
` to force the result into each single timeline.
## System Information Functions
...
...
docs/zh/12-taos-sql/10-function.md
浏览文件 @
852e8c81
...
...
@@ -1001,7 +1001,6 @@ SAMPLE(expr, k)
**使用说明**
:
-
不能参与表达式计算;该函数可以应用在普通表和超级表上;
-
使用在超级表上的时候,需要搭配 PARTITION by tbname 使用,将结果强制规约到单个时间线。
### TAIL
...
...
@@ -1080,7 +1079,6 @@ CSUM(expr)
-
不支持 +、-、
*
、/ 运算,如 csum(col1) + csum(col2)。
-
只能与聚合(Aggregation)函数一起使用。 该函数可以应用在普通表和超级表上。
-
使用在超级表上的时候,需要搭配 PARTITION BY tbname使用,将结果强制规约到单个时间线。
### DERIVATIVE
...
...
@@ -1104,7 +1102,6 @@ ignore_negative: {
**使用说明**
:
-
DERIVATIVE 函数可以在由 PARTITION BY 划分出单独时间线的情况下用于超级表(也即 PARTITION BY tbname)。
-
可以与选择相关联的列一起使用。 例如: select
\_
rowts, DERIVATIVE() from。
### DIFF
...
...
@@ -1167,7 +1164,6 @@ MAVG(expr, k)
-
不支持 +、-、
*
、/ 运算,如 mavg(col1, k1) + mavg(col2, k1);
-
只能与普通列,选择(Selection)、投影(Projection)函数一起使用,不能与聚合(Aggregation)函数一起使用;
-
使用在超级表上的时候,需要搭配 PARTITION BY tbname使用,将结果强制规约到单个时间线。
### STATECOUNT
...
...
@@ -1193,7 +1189,6 @@ STATECOUNT(expr, oper, val)
**使用说明**
:
-
该函数可以应用在普通表上,在由 PARTITION BY 划分出单独时间线的情况下用于超级表(也即 PARTITION BY tbname)
-
不能和窗口操作一起使用,例如 interval/state_window/session_window。
...
...
@@ -1221,7 +1216,6 @@ STATEDURATION(expr, oper, val, unit)
**使用说明**
:
-
该函数可以应用在普通表上,在由 PARTITION BY 划分出单独时间线的情况下用于超级表(也即 PARTITION BY tbname)
-
不能和窗口操作一起使用,例如 interval/state_window/session_window。
...
...
@@ -1239,8 +1233,6 @@ TWA(expr)
**适用于**
:表和超级表。
**使用说明**
: TWA 函数可以在由 PARTITION BY 划分出单独时间线的情况下用于超级表(也即 PARTITION BY tbname)。
## 系统信息函数
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录