hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12304) "drop database cascade" needs to unregister functions
Date Wed, 04 Nov 2015 00:39:27 GMT

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

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

hmm. Not sure what's happening there. Somehow it's said 2850 tests are added with the build.
Local test of some tests passed. Reattached the same patch. 

> "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.2.patch, 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)

Mime
View raw message