You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2015/11/02 17:53:27 UTC

[jira] [Commented] (HIVE-12304) "drop database cascade" needs to unregister functions

    [ https://issues.apache.org/jira/browse/HIVE-12304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985523#comment-14985523 ] 

Aihua Xu commented on HIVE-12304:
---------------------------------

Those test failures don't look related. [~jdere] Can you review the code?

> "drop database cascade" needs to unregister functions
> -----------------------------------------------------
>
>                 Key: HIVE-12304
>                 URL: https://issues.apache.org/jira/browse/HIVE-12304
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-12304.patch
>
>
> Currently "drop database cascade" command doesn't unregister the functions under the database. If the functions are not unregistered, in some cases like "describe db1.func1" will still show the info for the function; or if the same database is recreated, "drop if exists db1.func1" will throw an exception since the function is considered existing from the registry while it doesn't exist in metastore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)