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

comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new cadeb53e4a fix ci (#13367)
cadeb53e4a is described below

commit cadeb53e4ad36a6a12238e3acc833c6405c75dd2
Author: Jonathan Chen <[email protected]>
AuthorDate: Mon Nov 11 20:28:48 2024 -0500

    fix ci (#13367)
---
 datafusion/functions-nested/src/concat.rs      |  4 +++-
 docs/source/user-guide/sql/scalar_functions.md | 12 ++++++------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/datafusion/functions-nested/src/concat.rs 
b/datafusion/functions-nested/src/concat.rs
index 1bdcf74aee..4aa6bb5da9 100644
--- a/datafusion/functions-nested/src/concat.rs
+++ b/datafusion/functions-nested/src/concat.rs
@@ -195,8 +195,10 @@ impl ScalarUDFImpl for ArrayPrepend {
     }
 }
 
+static DOCUMENTATION_PREPEND: OnceLock<Documentation> = OnceLock::new();
+
 fn get_array_prepend_doc() -> &'static Documentation {
-    DOCUMENTATION.get_or_init(|| {
+    DOCUMENTATION_PREPEND.get_or_init(|| {
         Documentation::builder()
             .with_doc_section(DOC_SECTION_ARRAY)
             .with_description(
diff --git a/docs/source/user-guide/sql/scalar_functions.md 
b/docs/source/user-guide/sql/scalar_functions.md
index 490462909b..e9cd2bba7d 100644
--- a/docs/source/user-guide/sql/scalar_functions.md
+++ b/docs/source/user-guide/sql/scalar_functions.md
@@ -3089,18 +3089,18 @@ array_prepend(element, array)
 
 #### Arguments
 
-- **element**: Element to append to the array.
+- **element**: Element to prepend to the array.
 - **array**: Array expression. Can be a constant, column, or function, and any 
combination of array operators.
 
 #### Example
 
 ```sql
 > select array_prepend(1, [2, 3, 4]);
-+--------------------------------------+
-| array_prepend(Int64(1), List([2,3,4])) |
-+--------------------------------------+
-| [1, 2, 3, 4]                         |
-+--------------------------------------+
++---------------------------------------+
+| array_prepend(Int64(1),List([2,3,4])) |
++---------------------------------------+
+| [1, 2, 3, 4]                          |
++---------------------------------------+
 ```
 
 #### Aliases


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to