Skip to content

Commit 8977eae

Browse files
committed
fix typo in array_transform docs
1 parent 9530ded commit 8977eae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎datafusion/functions-nested/src/array_transform.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ make_udhof_expr_and_func!(
3939
ArrayTransform,
4040
array_transform,
4141
array lambda,
42-
"transforms the values of a array",
42+
"transforms the values of an array",
4343
array_transform_udhof
4444
);
4545

4646
#[user_doc(
4747
doc_section(label = "Array Functions"),
48-
description = "transforms the values of a array",
48+
description = "transforms the values of an array",
4949
syntax_example = "array_transform(array, x -> x*2)",
5050
sql_example = r#"```sql
5151
> select array_transform([1, 2, 3, 4, 5], x -> x*2);

‎docs/source/user-guide/sql/scalar_functions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4379,7 +4379,7 @@ array_to_string(array, delimiter[, null_string])
43794379

43804380
### `array_transform`
43814381

4382-
transforms the values of a array
4382+
transforms the values of an array
43834383

43844384
```sql
43854385
array_transform(array, x -> x*2)

0 commit comments

Comments
 (0)