Fall-back to using two operations: drop function followed create function for effectively handling the replace operation for the function when working with Hive Metastore.
Description
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:
## Hive
* Use drop & create function when replacing an existing function backed by Hive Metastore ({issue}`issuenumber`)
Hive 3 does not actually replace the content of the function
https://github.com/apache/hive/blob/rel/release-3.1.2/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L9310
Fall-back to using two operations: drop function followed create function for effectively handling the replace operation for the function when working with Hive Metastore.
Description
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required. ( ) Release notes are required. Please propose a release note for me. (x) Release notes are required, with the following suggested text: