dilipbiswal commented on a change in pull request #25894: [SPARK-28793][DOC][SQL] Document CREATE FUNCTION in SQL Reference URL: https://github.com/apache/spark/pull/25894#discussion_r326951100
########## File path: docs/sql-ref-syntax-ddl-create-function.md ########## @@ -19,4 +19,148 @@ license: | limitations under the License. --- -**This page is under construction** +### Description +`CREATE FUNCTION` statement is used to create a temporary or permanent function +in Spark. Temporary functions are scoped at a session level where as permanent +functions are created in the persistent catalog and are made available to +all sessions. The resources specified in the `USING` clause are made available +to all executors when they are executed for the first time. Review comment: @gatorsmile I have created a place holder link for custom scalar functions. There is already a place holder for aggregate functions and a lot of content is already in place. ---------------------------------------------------------------- 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]
