This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git


The following commit(s) were added to refs/heads/main by this push:
     new 9341706e Modify the function page error message last-by (#561)
9341706e is described below

commit 9341706e8db09856e8c41e750d918dc19e93cbdb
Author: W1y1r <[email protected]>
AuthorDate: Mon Feb 17 21:42:24 2025 +0800

    Modify the function page error message last-by (#561)
---
 src/zh/UserGuide/Master/Table/SQL-Manual/Basis-Function.md | 2 +-
 src/zh/UserGuide/latest-Table/SQL-Manual/Basis-Function.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/zh/UserGuide/Master/Table/SQL-Manual/Basis-Function.md 
b/src/zh/UserGuide/Master/Table/SQL-Manual/Basis-Function.md
index d381d756..c75d2108 100644
--- a/src/zh/UserGuide/Master/Table/SQL-Manual/Basis-Function.md
+++ b/src/zh/UserGuide/Master/Table/SQL-Manual/Basis-Function.md
@@ -149,7 +149,7 @@ SELECT * FROM table1 WHERE region NOT IN ('北京', '上海');
 | MAX_BY      | MAX_BY(x, y) 求二元输入 x 和 y 在 y 最大时对应的 x 的值。MAX_BY(time, x) 返回 x 
取最大值时对应的时间戳。 | x 和 y 可以是任意类型    | 与第一个输入 x 的数据类型一致 |
 | MIN_BY      | MIN_BY(x, y) 求二元输入 x 和 y 在 y 最小时对应的 x 的值。MIN_BY(time, x) 返回 x 
取最小值时对应的时间戳。 | x 和 y 可以是任意类型    | 与第一个输入 x 的数据类型一致 |
 | FIRST_BY    | FIRST_BY(x, y) 求当 y 为第一个不为 NULL 的值时,同一行里对应的 x 值。 | x 和 y 
可以是任意类型    | 与第一个输入 x 的数据类型一致 |
-| LAST_BY     | FIRST_BY(x, y) 求当 y 为最后一个不为 NULL 的值时,同一行里对应的 x 值。 | x 和 y 
可以是任意类型    | 与第一个输入 x 的数据类型一致 |
+| LAST_BY     | LAST_BY(x, y) 求当 y 为最后一个不为 NULL 的值时,同一行里对应的 x 值。 | x 和 y 
可以是任意类型    | 与第一个输入 x 的数据类型一致 |
 
 ### 3. 示例
 
diff --git a/src/zh/UserGuide/latest-Table/SQL-Manual/Basis-Function.md 
b/src/zh/UserGuide/latest-Table/SQL-Manual/Basis-Function.md
index d381d756..c75d2108 100644
--- a/src/zh/UserGuide/latest-Table/SQL-Manual/Basis-Function.md
+++ b/src/zh/UserGuide/latest-Table/SQL-Manual/Basis-Function.md
@@ -149,7 +149,7 @@ SELECT * FROM table1 WHERE region NOT IN ('北京', '上海');
 | MAX_BY      | MAX_BY(x, y) 求二元输入 x 和 y 在 y 最大时对应的 x 的值。MAX_BY(time, x) 返回 x 
取最大值时对应的时间戳。 | x 和 y 可以是任意类型    | 与第一个输入 x 的数据类型一致 |
 | MIN_BY      | MIN_BY(x, y) 求二元输入 x 和 y 在 y 最小时对应的 x 的值。MIN_BY(time, x) 返回 x 
取最小值时对应的时间戳。 | x 和 y 可以是任意类型    | 与第一个输入 x 的数据类型一致 |
 | FIRST_BY    | FIRST_BY(x, y) 求当 y 为第一个不为 NULL 的值时,同一行里对应的 x 值。 | x 和 y 
可以是任意类型    | 与第一个输入 x 的数据类型一致 |
-| LAST_BY     | FIRST_BY(x, y) 求当 y 为最后一个不为 NULL 的值时,同一行里对应的 x 值。 | x 和 y 
可以是任意类型    | 与第一个输入 x 的数据类型一致 |
+| LAST_BY     | LAST_BY(x, y) 求当 y 为最后一个不为 NULL 的值时,同一行里对应的 x 值。 | x 和 y 
可以是任意类型    | 与第一个输入 x 的数据类型一致 |
 
 ### 3. 示例
 

Reply via email to