From 72cfc809aec6e4f78c0b1fe080d401ff65b425a7 Mon Sep 17 00:00:00 2001
From: Chih Wang <ongchi@users.noreply.github.com>
Date: Wed, 10 Jan 2024 03:03:21 +0800
Subject: [PATCH] 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 629a5f6ecb88..9dd008f8fc44 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]                        |
 +-------------------------------+