This commit is contained in:
Ganlin Zhao 2023-08-08 16:08:59 +08:00
parent bea4346232
commit 2ed5ee835e
2 changed files with 2 additions and 2 deletions

View File

@ -698,7 +698,7 @@ ELAPSED(ts_primary_key [, time_unit])
LEASTSQUARES(expr, start_val, step_val) LEASTSQUARES(expr, start_val, step_val)
``` ```
**Description**: The linear regression function of the specified column and the timestamp column (primary key), `start_val` is the initial value and `step_val` is the step value. **Description**: The linear regression function of a specified column, `start_val` is the initial value and `step_val` is the step value.
**Return value type**: A string in the format of "(slope, intercept)" **Return value type**: A string in the format of "(slope, intercept)"

View File

@ -700,7 +700,7 @@ ELAPSED(ts_primary_key [, time_unit])
LEASTSQUARES(expr, start_val, step_val) LEASTSQUARES(expr, start_val, step_val)
``` ```
**功能说明**:统计表中某列的值是主键(时间戳)的拟合直线方程。start_val 是自变量初始值step_val 是自变量的步长值。 **功能说明**统计表中某列的值的拟合直线方程。start_val 是自变量初始值step_val 是自变量的步长值。
**返回数据类型**:字符串表达式(斜率, 截距)。 **返回数据类型**:字符串表达式(斜率, 截距)。