Skip to content

Commit cadeb53

Browse files
authored
fix ci (#13367)
1 parent 382ba2b commit cadeb53

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

datafusion/functions-nested/src/concat.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,10 @@ impl ScalarUDFImpl for ArrayPrepend {
195195
}
196196
}
197197

198+
static DOCUMENTATION_PREPEND: OnceLock<Documentation> = OnceLock::new();
199+
198200
fn get_array_prepend_doc() -> &'static Documentation {
199-
DOCUMENTATION.get_or_init(|| {
201+
DOCUMENTATION_PREPEND.get_or_init(|| {
200202
Documentation::builder()
201203
.with_doc_section(DOC_SECTION_ARRAY)
202204
.with_description(

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3089,18 +3089,18 @@ array_prepend(element, array)
30893089

30903090
#### Arguments
30913091

3092-
- **element**: Element to append to the array.
3092+
- **element**: Element to prepend to the array.
30933093
- **array**: Array expression. Can be a constant, column, or function, and any combination of array operators.
30943094

30953095
#### Example
30963096

30973097
```sql
30983098
> select array_prepend(1, [2, 3, 4]);
3099-
+--------------------------------------+
3100-
| array_prepend(Int64(1), List([2,3,4])) |
3101-
+--------------------------------------+
3102-
| [1, 2, 3, 4] |
3103-
+--------------------------------------+
3099+
+---------------------------------------+
3100+
| array_prepend(Int64(1),List([2,3,4])) |
3101+
+---------------------------------------+
3102+
| [1, 2, 3, 4] |
3103+
+---------------------------------------+
31043104
```
31053105

31063106
#### Aliases

0 commit comments

Comments
 (0)