spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [spark] dilipbiswal commented on a change in pull request #25553: [SPARK-28797][DOC] Document DROP FUNCTION statement in SQL Reference.
Date Sun, 22 Sep 2019 22:11:07 GMT
dilipbiswal 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_r326921907
 
 

 ##########
 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:
   @gatorsmile The permanent functions are always shown as database qualified where as the
temporary functions are not qualified. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message