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. Oh.. oops :-) one is test_avg and the other is temp_avg.. . ---------------------------------------------------------------- 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]
