Skip to content

[SPARK-31434][SQL][DOCS] Drop builtin function pages from SQL references #28203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 6 additions & 18 deletions docs/_data/menu-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,23 +242,11 @@
- text: Functions
url: sql-ref-functions.html
subitems:
- text: Build-in Functions
url: sql-ref-functions-builtin.html
subitems:
- text: Build-in Aggregate Functions
url: sql-ref-functions-builtin-aggregate.html
- text: Build-in Array Functions
url: sql-ref-functions-builtin-array.html
- text: Build-in Date Time Functions
url: sql-ref-functions-builtin-date-time.html
- text: UDFs (User-Defined Functions)
url: sql-ref-functions-udf.html
subitems:
- text: Scalar UDFs (User-Defined Functions)
url: sql-ref-functions-udf-scalar.html
- text: UDAFs (User-Defined Aggregate Functions)
url: sql-ref-functions-udf-aggregate.html
- text: Integration with Hive UDFs/UDAFs/UDTFs
url: sql-ref-functions-udf-hive.html
- text: Scalar UDFs (User-Defined Functions)
url: sql-ref-functions-udf-scalar.html
- text: UDAFs (User-Defined Aggregate Functions)
url: sql-ref-functions-udf-aggregate.html
- text: Integration with Hive UDFs/UDAFs/UDTFs
url: sql-ref-functions-udf-hive.html
- text: Datetime Pattern
url: sql-ref-datetime-pattern.html
22 changes: 0 additions & 22 deletions docs/sql-ref-functions-builtin-aggregate.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/sql-ref-functions-builtin-array.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/sql-ref-functions-builtin-date-time.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/sql-ref-functions-builtin-scalar.md

This file was deleted.

26 changes: 0 additions & 26 deletions docs/sql-ref-functions-builtin.md

This file was deleted.

26 changes: 0 additions & 26 deletions docs/sql-ref-functions-udf.md

This file was deleted.

11 changes: 10 additions & 1 deletion docs/sql-ref-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,13 @@ license: |
limitations under the License.
---

Spark SQL defines commonly used functions as built-in functions. It also provides User-Defined Functions (UDFs) to allow users to define their own functions when the system’s built-in functions are not enough to perform the desired task.
Spark SQL provides two function features to meet a wide range of user needs: built-in functions and user-defined functions (UDFs).
Built-in functions are commonly used routines that Spark SQL predefines and a complete list of the functions can be found in the [Built-in Functions](api/sql/) API document. UDFs allow users to define their own functions when the system’s built-in functions are not enough to perform the desired task.

### UDFs (User-Defined Functions)

User-Defined Functions (UDFs) are a feature of Spark SQL that allows users to define their own functions when the system's built-in functions are not enough to perform the desired task. To use UDFs in Spark SQL, users must first define the function, then register the function with Spark, and finally call the registered function. The User-Defined Functions can act on a single row or act on multiple rows at once. Spark SQL also supports integration of existing Hive implementations of UDFs, UDAFs and UDTFs.

* [Scalar User-Defined Functions (UDFs)](sql-ref-functions-udf-scalar.html)
* [User-Defined Aggregate Functions (UDAFs)](sql-ref-functions-udf-aggregate.html)
* [Integration with Hive UDFs/UDAFs/UDTFs](sql-ref-functions-udf-hive.html)