wecharyu opened a new pull request, #3360:
URL: https://github.com/apache/hive/pull/3360

   ### What changes were proposed in this pull request?
   Hive SQL does not support **ALTER FUNCTION** yet, we can refer to the 
**CREATE [OR REPLACE] FUNCTION** of 
[Spark](https://spark.apache.org/docs/3.1.2/sql-ref-syntax-ddl-create-function.html)
 to implement the alter function .
   
   
   ### Why are the changes needed?
   To support alter udf.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, need change the DDL statement document in the [Hive 
WIKI](https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/ReloadFunction).
   
   
   ### How was this patch tested?
   We add a qtest `create_or_replace_function.q`, can be test by command:
   ```bash
   mvn test -Dtest=TestMiniLlapLocalCliDriver 
-Dqfile=create_or_replace_function.q
   ```
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to