Update 10-function.md

This commit is contained in:
Ganlin Zhao 2022-09-27 13:15:41 +08:00 committed by GitHub
parent 0239d860ad
commit 70bb54c635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1059,6 +1059,11 @@ CSUM(expr)
```sql
DERIVATIVE(expr, time_interval, ignore_negative)
ignore_negative: {
0
| 1
}
```
**功能说明**:统计表中某列数值的单位变化率。其中单位时间区间的长度可以通过 time_interval 参数指定,最小可以是 1 秒1signore_negative 参数的值可以是 0 或 1为 1 时表示忽略负值。