sandeep-katta commented on a change in pull request #25553: [SPARK-28797][DOC] 
Document DROP FUNCTION statement in SQL Reference.
URL: https://github.com/apache/spark/pull/25553#discussion_r326841354
 
 

 ##########
 File path: docs/sql-ref-syntax-ddl-drop-function.md
 ##########
 @@ -59,6 +59,18 @@ SHOW USER FUNCTIONS;
   | default.test_avg  |
   +-------------------+
 
+-- Create Temporary function `temp_avg`
+CREATE TEMPORARY FUNCTION temp_avg as 
'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFAverage';
+
+-- List user functions
+SHOW USER FUNCTIONS;
+  +-------------------+
+  |     function      |
+  +-------------------+
+  | default.test_avg  |
+  | temp_avg          |
 
 Review comment:
   yes, one with `permanent` and other with `Temporary`

----------------------------------------------------------------
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]

Reply via email to