Skip to content

Commit b1d52d4

Browse files
committed
fix: links
1 parent 3395656 commit b1d52d4

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
title: JSON_ARRAY_REDUCE
33
---
4+
45
import FunctionDescription from '@site/src/components/FunctionDescription';
56

67
<FunctionDescription description="Introduced or updated: v1.2.644"/>
78

8-
Reduces a JSON array to a single value by applying a specified Lambda expression. For more information about Lambda expression, see [Lambda Expressions](docs/en/sql-reference/00-sql-reference/42-lambda-expressions.md).
9+
Reduces a JSON array to a single value by applying a specified Lambda expression. For more information about Lambda expression, see [Lambda Expressions](../../00-sql-reference/42-lambda-expressions.md).
910

1011
## Syntax
1112

@@ -15,14 +16,14 @@ JSON_ARRAY_REDUCE(<json_array>, <lambda_expression>)
1516

1617
## Examples
1718

18-
This example multiplies all the elements in the array (2 * 3 * 4):
19+
This example multiplies all the elements in the array (2 _ 3 _ 4):
1920

2021
```sql
2122
SELECT JSON_ARRAY_REDUCE(
22-
[2, 3, 4]::JSON,
23+
[2, 3, 4]::JSON,
2324
(acc, d) -> acc::Int * d::Int
2425
);
2526

2627
-[ RECORD 1 ]-----------------------------------
2728
json_array_reduce([2, 3, 4]::VARIANT, (acc, d) -> acc::Int32 * d::Int32): 24
28-
```
29+
```

docs/en/sql-reference/20-sql-functions/10-semi-structured-functions/json-array-transform.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
title: JSON_ARRAY_TRANSFORM
33
---
4+
45
import FunctionDescription from '@site/src/components/FunctionDescription';
56

67
<FunctionDescription description="Introduced or updated: v1.2.644"/>
78

8-
Transforms each element of a JSON array using a specified transformation Lambda expression. For more information about Lambda expression, see [Lambda Expressions](docs/en/sql-reference/00-sql-reference/42-lambda-expressions.md).
9+
Transforms each element of a JSON array using a specified transformation Lambda expression. For more information about Lambda expression, see [Lambda Expressions](../../00-sql-reference/42-lambda-expressions.md).
910

1011
## Syntax
1112

@@ -34,4 +35,4 @@ SELECT JSON_ARRAY_TRANSFORM(
3435

3536
-[ RECORD 1 ]-----------------------------------
3637
json_array_transform([1, 2, 3, 4]::VARIANT, data -> data::Int32 * 10): [10,20,30,40]
37-
```
38+
```

0 commit comments

Comments
 (0)