From 1a6511fee065955332775e7dffc693e44d49090c Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Wed, 28 Jun 2023 15:09:42 +0800 Subject: [PATCH] fix unique document --- docs/en/12-taos-sql/10-function.md | 4 ++-- docs/zh/12-taos-sql/10-function.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/12-taos-sql/10-function.md b/docs/en/12-taos-sql/10-function.md index 6b62950ecc..d46e01da41 100644 --- a/docs/en/12-taos-sql/10-function.md +++ b/docs/en/12-taos-sql/10-function.md @@ -1054,11 +1054,11 @@ TOP(expr, k) UNIQUE(expr) ``` -**Description**: The values that occur the first time in the specified column. The effect is similar to `distinct` keyword, but it can also be used to match tags or timestamp. The first occurrence of a timestamp or tag is used. +**Description**: The values that occur the first time in the specified column. The effect is similar to `distinct` keyword, but it can also be used to match tags or timestamp which correspond to first occurrence of the record. **Return value type**:Same as the data type of the column being operated upon -**Applicable column types**: Any data types except for timestamp +**Applicable column types**: Any data types **Applicable table types**: table, STable diff --git a/docs/zh/12-taos-sql/10-function.md b/docs/zh/12-taos-sql/10-function.md index b4785dc5e6..e9ab75c135 100644 --- a/docs/zh/12-taos-sql/10-function.md +++ b/docs/zh/12-taos-sql/10-function.md @@ -1046,11 +1046,11 @@ TOP(expr, k) UNIQUE(expr) ``` -**功能说明**:返回该列的数值首次出现的值。该函数功能与 distinct 相似,但是可以匹配标签和时间戳信息。可以针对除时间列以外的字段进行查询,可以匹配标签和时间戳,其中的标签和时间戳是第一次出现时刻的标签和时间戳。 +**功能说明**:返回该列数据首次出现的值。该函数功能与 distinct 相似,可以匹配标签和时间戳,对应数据第一次出现时刻的标签和时间戳。 **返回数据类型**:同应用的字段。 -**适用数据类型**:适合于除时间类型以外的字段。 +**适用数据类型**:全部类型字段。 **适用于**: 表和超级表。 -- GitLab