Skip to content

Commit cc14b73

Browse files
authored
updates (#1664)
1 parent 257a51d commit cc14b73

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

docs/en/sql-reference/20-sql-functions/08-window-functions/first-value.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: FIRST_VALUE
44

55
import FunctionDescription from '@site/src/components/FunctionDescription';
66

7-
<FunctionDescription description="Introduced or updated: v1.2.568"/>
7+
<FunctionDescription description="Introduced or updated: v1.2.697"/>
88

99
Returns the first value in the window frame.
1010

@@ -19,7 +19,10 @@ See also:
1919
FIRST_VALUE (expression) [ { IGNORE | RESPECT } NULLS ] OVER ([PARTITION BY partition_expression] ORDER BY order_expression [window_frame])
2020
```
2121

22-
- `[ { IGNORE | RESPECT } NULLS ]`: This option controls how NULL values are handled within the window function. By default, `RESPECT NULLS` is used, meaning NULL values are included in the calculation and affect the result. When set to `IGNORE NULLS`, NULL values are excluded from consideration, and the function operates only on non-NULL values.
22+
- `[ { IGNORE | RESPECT } NULLS ]`: Controls how NULL values are handled within the window function.
23+
- By default, `RESPECT NULLS` is used, meaning NULL values are included in the calculation and affect the result.
24+
- When set to `IGNORE NULLS`, NULL values are excluded from consideration, and the function operates only on non-NULL values.
25+
- If all values in the window frame are NULL, the function returns NULL even when `IGNORE NULLS` is specified.
2326

2427
- For the syntax of window frame, see [Window Frame Syntax](index.md#window-frame-syntax).
2528

docs/en/sql-reference/20-sql-functions/08-window-functions/last-value.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: LAST_VALUE
44

55
import FunctionDescription from '@site/src/components/FunctionDescription';
66

7-
<FunctionDescription description="Introduced or updated: v1.2.568"/>
7+
<FunctionDescription description="Introduced or updated: v1.2.697"/>
88

99
Returns the last value in the window frame.
1010

@@ -19,7 +19,10 @@ See also:
1919
LAST_VALUE (expression) [ { IGNORE | RESPECT } NULLS ] OVER ([PARTITION BY partition_expression] ORDER BY order_expression [window_frame])
2020
```
2121

22-
- `[ { IGNORE | RESPECT } NULLS ]`: This option controls how NULL values are handled within the window function. By default, `RESPECT NULLS` is used, meaning NULL values are included in the calculation and affect the result. When set to `IGNORE NULLS`, NULL values are excluded from consideration, and the function operates only on non-NULL values.
22+
- `[ { IGNORE | RESPECT } NULLS ]`: Controls how NULL values are handled within the window function.
23+
- By default, `RESPECT NULLS` is used, meaning NULL values are included in the calculation and affect the result.
24+
- When set to `IGNORE NULLS`, NULL values are excluded from consideration, and the function operates only on non-NULL values.
25+
- If all values in the window frame are NULL, the function returns NULL even when `IGNORE NULLS` is specified.
2326

2427
- For the syntax of window frame, see [Window Frame Syntax](index.md#window-frame-syntax).
2528

docs/en/sql-reference/20-sql-functions/08-window-functions/nth-value.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: NTH_VALUE
44

55
import FunctionDescription from '@site/src/components/FunctionDescription';
66

7-
<FunctionDescription description="Introduced or updated: v1.2.568"/>
7+
<FunctionDescription description="Introduced or updated: v1.2.697"/>
88

99
Returns the value at the `N`-th position within the window frame, where `N` is a specified integer that determines the exact position of the value.
1010

@@ -19,7 +19,10 @@ See also:
1919
NTH_VALUE (expression, n) [ { IGNORE | RESPECT } NULLS ] OVER ([PARTITION BY partition_expression] ORDER BY order_expression [window_frame])
2020
```
2121

22-
- `[ { IGNORE | RESPECT } NULLS ]`: This option controls how NULL values are handled within the window function. By default, `RESPECT NULLS` is used, meaning NULL values are included in the calculation and affect the result. When set to `IGNORE NULLS`, NULL values are excluded from consideration, and the function operates only on non-NULL values.
22+
- `[ { IGNORE | RESPECT } NULLS ]`: Controls how NULL values are handled within the window function.
23+
- By default, `RESPECT NULLS` is used, meaning NULL values are included in the calculation and affect the result.
24+
- When set to `IGNORE NULLS`, NULL values are excluded from consideration, and the function operates only on non-NULL values.
25+
- If all values in the window frame are NULL, the function returns NULL even when `IGNORE NULLS` is specified.
2326

2427
- For the syntax of window frame, see [Window Frame Syntax](index.md#window-frame-syntax).
2528

0 commit comments

Comments
 (0)