fix sample docs

This commit is contained in:
Ganlin Zhao 2023-06-28 15:13:35 +08:00
parent 1a6511fee0
commit 4f613220d1
2 changed files with 4 additions and 12 deletions

View File

@ -998,18 +998,14 @@ SAMPLE(expr, k)
**Description**: _k_ sampling values of a specific column. The applicable range of _k_ is [1,1000].
**Return value type**: Same as the column being operated plus the associated timestamp
**Return value type**: Same as the column being operated
**Applicable data types**: Any data type except for tags of STable
**Applicable data types**: Any data type
**Applicable nested query**: Inner query and Outer query
**Applicable table types**: standard tables and supertables
**More explanations**:
- This function cannot be used in expression calculation.
### TAIL

View File

@ -990,18 +990,14 @@ SAMPLE(expr, k)
**功能说明** 获取数据的 k 个采样值。参数 k 的合法输入范围是 1≤ k ≤ 1000。
**返回结果类型** 同原始数据类型 返回结果中带有该行记录的时间戳
**返回结果类型** 同原始数据类型。
**适用数据类型** 在超级表查询中使用时,不能应用在标签之上
**适用数据类型** 全部类型字段
**嵌套子查询支持** 适用于内层查询和外层查询。
**适用于**:表和超级表。
**使用说明**
- 不能参与表达式计算;该函数可以应用在普通表和超级表上;
### TAIL