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

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new c3d67029c7 Publish built docs triggered by 
39c100a0151ebc1f09c562786cf2a59c9b7e8608
c3d67029c7 is described below

commit c3d67029c7acde437975d10ae21a70539da5d435
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jun 8 11:02:42 2025 +0000

    Publish built docs triggered by 39c100a0151ebc1f09c562786cf2a59c9b7e8608
---
 _sources/user-guide/sql/scalar_functions.md.txt | 4 ++--
 user-guide/sql/scalar_functions.html            | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/_sources/user-guide/sql/scalar_functions.md.txt 
b/_sources/user-guide/sql/scalar_functions.md.txt
index cbcec710e2..e1a741e71a 100644
--- a/_sources/user-guide/sql/scalar_functions.md.txt
+++ b/_sources/user-guide/sql/scalar_functions.md.txt
@@ -3142,7 +3142,7 @@ array_pop_front(array)
 
 ### `array_position`
 
-Returns the position of the first occurrence of the specified element in the 
array.
+Returns the position of the first occurrence of the specified element in the 
array, or NULL if not found.
 
 ```sql
 array_position(array, element)
@@ -3153,7 +3153,7 @@ array_position(array, element, index)
 
 - **array**: Array expression. Can be a constant, column, or function, and any 
combination of array operators.
 - **element**: Element to search for position in the array.
-- **index**: Index at which to start searching.
+- **index**: Index at which to start searching (1-indexed).
 
 #### Example
 
diff --git a/user-guide/sql/scalar_functions.html 
b/user-guide/sql/scalar_functions.html
index 21e76df100..de06d9446f 100644
--- a/user-guide/sql/scalar_functions.html
+++ b/user-guide/sql/scalar_functions.html
@@ -7895,7 +7895,7 @@ an error will be returned.</p></li>
 </section>
 <section id="array-position">
 <h3><code class="docutils literal notranslate"><span 
class="pre">array_position</span></code><a class="headerlink" 
href="#array-position" title="Link to this heading">ΒΆ</a></h3>
-<p>Returns the position of the first occurrence of the specified element in 
the array.</p>
+<p>Returns the position of the first occurrence of the specified element in 
the array, or NULL if not found.</p>
 <div class="highlight-sql notranslate"><div 
class="highlight"><pre><span></span><span class="n">array_position</span><span 
class="p">(</span><span class="nb">array</span><span class="p">,</span><span 
class="w"> </span><span class="n">element</span><span class="p">)</span>
 <span class="n">array_position</span><span class="p">(</span><span 
class="nb">array</span><span class="p">,</span><span class="w"> </span><span 
class="n">element</span><span class="p">,</span><span class="w"> </span><span 
class="k">index</span><span class="p">)</span>
 </pre></div>
@@ -7905,7 +7905,7 @@ an error will be returned.</p></li>
 <ul class="simple">
 <li><p><strong>array</strong>: Array expression. Can be a constant, column, or 
function, and any combination of array operators.</p></li>
 <li><p><strong>element</strong>: Element to search for position in the 
array.</p></li>
-<li><p><strong>index</strong>: Index at which to start searching.</p></li>
+<li><p><strong>index</strong>: Index at which to start searching 
(1-indexed).</p></li>
 </ul>
 </section>
 <section id="id216">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org
For additional commands, e-mail: commits-h...@datafusion.apache.org

Reply via email to