You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2024/01/09 19:03:27 UTC
(arrow-datafusion) branch main updated: fix docs: array_pop_first should be array_pop_front (#8797)
This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 72cfc809ae fix docs: array_pop_first should be array_pop_front (#8797)
72cfc809ae is described below
commit 72cfc809aec6e4f78c0b1fe080d401ff65b425a7
Author: Chih Wang <on...@users.noreply.github.com>
AuthorDate: Wed Jan 10 03:03:21 2024 +0800
fix docs: array_pop_first should be array_pop_front (#8797)
---
docs/source/user-guide/sql/scalar_functions.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/source/user-guide/sql/scalar_functions.md b/docs/source/user-guide/sql/scalar_functions.md
index 629a5f6ecb..9dd008f8fc 100644
--- a/docs/source/user-guide/sql/scalar_functions.md
+++ b/docs/source/user-guide/sql/scalar_functions.md
@@ -1970,7 +1970,7 @@ array_prepend(element, array)
Returns the array without the first element.
```
-array_pop_first(array)
+array_pop_front(array)
```
#### Arguments
@@ -1981,9 +1981,9 @@ array_pop_first(array)
#### Example
```
-❯ select array_pop_first([1, 2, 3]);
+❯ select array_pop_front([1, 2, 3]);
+-------------------------------+
-| array_pop_first(List([1,2,3])) |
+| array_pop_front(List([1,2,3])) |
+-------------------------------+
| [2, 3] |
+-------------------------------+