maropu commented on a change in pull request #28224: [SPARK-31429][SQL][DOC] Automatically generates a SQL document for built-in functions URL: https://github.com/apache/spark/pull/28224#discussion_r408818054
########## File path: docs/sql-ref-functions.md ########## @@ -22,6 +22,17 @@ license: | 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. +### Built-in Functions + +Spark SQL has some categories of frequently-used built-in functions for aggregtion, arrays/maps, date/timestamp, and JSON data. +This subsection presents the usages and descriptions of these functions. + + * [Aggregate Functions](sql-ref-functions-builtin.html#aggregate-functions) Review comment: Ah, actually, I sorted them by similar functionality, e.g., array and map. On the other hand, in `sql-ref-functions-builtin.html`, the script sorts them just by group name.... Yea, we can update the script for sorting them in the same order though, I just want to keep it simple. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
