You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by gi...@apache.org on 2024/03/12 02:19:51 UTC
(arrow-datafusion) branch asf-site updated: Publish built docs triggered by d2fc02b8b4332793a9047a99bbdd40ade73f3dc5
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/arrow-datafusion.git
The following commit(s) were added to refs/heads/asf-site by this push:
new f2e6e9381e Publish built docs triggered by d2fc02b8b4332793a9047a99bbdd40ade73f3dc5
f2e6e9381e is described below
commit f2e6e9381eed1d68eac29f06b431d863f250f9f7
Author: github-actions[bot] <gi...@users.noreply.github.com>
AuthorDate: Tue Mar 12 02:19:46 2024 +0000
Publish built docs triggered by d2fc02b8b4332793a9047a99bbdd40ade73f3dc5
---
_sources/user-guide/expressions.md.txt | 1 +
searchindex.js | 2 +-
user-guide/expressions.html | 13 ++++++++-----
3 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/_sources/user-guide/expressions.md.txt b/_sources/user-guide/expressions.md.txt
index 17da8c3fc2..05eb063c3d 100644
--- a/_sources/user-guide/expressions.md.txt
+++ b/_sources/user-guide/expressions.md.txt
@@ -239,6 +239,7 @@ select log(-1), log(0), sqrt(-1);
| array_union(array1, array2) | Returns an array of the elements in the union of array1 and array2 without duplicates. `array_union([1, 2, 3, 4], [5, 6, 3, 4]) -> [1, 2, 3, 4, 5, 6]` |
| array_except(array1, array2) | Returns an array of the elements that appear in the first array but not in the second. `array_except([1, 2, 3, 4], [5, 6, 3, 4]) -> [3, 4]` |
| array_resize(array, size, value) | Resizes the list to contain size elements. Initializes new elements with value or empty if value is not set. `array_resize([1, 2, 3], 5, 0) -> [1, 2, 3, 4, 5, 6]` |
+| array_sort(array, desc, null_first) | Returns sorted array. `array_sort([3, 1, 2, 5, 4]) -> [1, 2, 3, 4, 5]` |
| cardinality(array) | Returns the total number of elements in the array. `cardinality([[1, 2, 3], [4, 5, 6]]) -> 6` |
| make_array(value1, [value2 [, ...]]) | Returns an Arrow array using the specified input expressions. `make_array(1, 2, 3) -> [1, 2, 3]` |
| range(start [, stop, step]) | Returns an Arrow array between start and stop with step. `SELECT range(2, 10, 3) -> [2, 5, 8]` |
diff --git a/searchindex.js b/searchindex.js
index 2110cd232f..559ee1c1b8 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["contributor-guide/architecture", "contributor-guide/communication", "contributor-guide/index", "contributor-guide/quarterly_roadmap", "contributor-guide/roadmap", "contributor-guide/specification/index", "contributor-guide/specification/invariants", "contributor-guide/specification/output-field-name-semantic", "index", "library-user-guide/adding-udfs", "library-user-guide/building-logical-plans", "library-user-guide/catalogs", "library-user-guide/custom-tab [...]
\ No newline at end of file
+Search.setIndex({"docnames": ["contributor-guide/architecture", "contributor-guide/communication", "contributor-guide/index", "contributor-guide/quarterly_roadmap", "contributor-guide/roadmap", "contributor-guide/specification/index", "contributor-guide/specification/invariants", "contributor-guide/specification/output-field-name-semantic", "index", "library-user-guide/adding-udfs", "library-user-guide/building-logical-plans", "library-user-guide/catalogs", "library-user-guide/custom-tab [...]
\ No newline at end of file
diff --git a/user-guide/expressions.html b/user-guide/expressions.html
index c3d1ee237e..a5859d5b6c 100644
--- a/user-guide/expressions.html
+++ b/user-guide/expressions.html
@@ -1009,19 +1009,22 @@ but these operators always return a <code class="docutils literal notranslate"><
<tr class="row-odd"><td><p>array_resize(array, size, value)</p></td>
<td><p>Resizes the list to contain size elements. Initializes new elements with value or empty if value is not set. <code class="docutils literal notranslate"><span class="pre">array_resize([1,</span> <span class="pre">2,</span> <span class="pre">3],</span> <span class="pre">5,</span> <span class="pre">0)</span> <span class="pre">-></span> <span class="pre">[1,</span> <span class="pre">2,</span> <span class="pre">3,</span> <span class="pre">4,</span> <span class="pre">5,</span> <span [...]
</tr>
-<tr class="row-even"><td><p>cardinality(array)</p></td>
+<tr class="row-even"><td><p>array_sort(array, desc, null_first)</p></td>
+<td><p>Returns sorted array. <code class="docutils literal notranslate"><span class="pre">array_sort([3,</span> <span class="pre">1,</span> <span class="pre">2,</span> <span class="pre">5,</span> <span class="pre">4])</span> <span class="pre">-></span> <span class="pre">[1,</span> <span class="pre">2,</span> <span class="pre">3,</span> <span class="pre">4,</span> <span class="pre">5]</span></code></p></td>
+</tr>
+<tr class="row-odd"><td><p>cardinality(array)</p></td>
<td><p>Returns the total number of elements in the array. <code class="docutils literal notranslate"><span class="pre">cardinality([[1,</span> <span class="pre">2,</span> <span class="pre">3],</span> <span class="pre">[4,</span> <span class="pre">5,</span> <span class="pre">6]])</span> <span class="pre">-></span> <span class="pre">6</span></code></p></td>
</tr>
-<tr class="row-odd"><td><p>make_array(value1, [value2 [, …]])</p></td>
+<tr class="row-even"><td><p>make_array(value1, [value2 [, …]])</p></td>
<td><p>Returns an Arrow array using the specified input expressions. <code class="docutils literal notranslate"><span class="pre">make_array(1,</span> <span class="pre">2,</span> <span class="pre">3)</span> <span class="pre">-></span> <span class="pre">[1,</span> <span class="pre">2,</span> <span class="pre">3]</span></code></p></td>
</tr>
-<tr class="row-even"><td><p>range(start [, stop, step])</p></td>
+<tr class="row-odd"><td><p>range(start [, stop, step])</p></td>
<td><p>Returns an Arrow array between start and stop with step. <code class="docutils literal notranslate"><span class="pre">SELECT</span> <span class="pre">range(2,</span> <span class="pre">10,</span> <span class="pre">3)</span> <span class="pre">-></span> <span class="pre">[2,</span> <span class="pre">5,</span> <span class="pre">8]</span></code></p></td>
</tr>
-<tr class="row-odd"><td><p>string_to_array(array, delimiter, null_string)</p></td>
+<tr class="row-even"><td><p>string_to_array(array, delimiter, null_string)</p></td>
<td><p>Splits a <code class="docutils literal notranslate"><span class="pre">string</span></code> based on a <code class="docutils literal notranslate"><span class="pre">delimiter</span></code> and returns an array of parts. Any parts matching the optional <code class="docutils literal notranslate"><span class="pre">null_string</span></code> will be replaced with <code class="docutils literal notranslate"><span class="pre">NULL</span></code>. <code class="docutils literal notranslate"><s [...]
</tr>
-<tr class="row-even"><td><p>trim_array(array, n)</p></td>
+<tr class="row-odd"><td><p>trim_array(array, n)</p></td>
<td><p>Deprecated</p></td>
</tr>
</tbody>