hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "niklaus xiao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14295) Some metastore event listeners always initialize deleteData as false
Date Wed, 20 Jul 2016 11:46:20 GMT

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

niklaus xiao commented on HIVE-14295:
-------------------------------------

Small patch. Could you take a look ? [~ashutoshc] Thank you.

> Some metastore event listeners always initialize deleteData as false
> --------------------------------------------------------------------
>
>                 Key: HIVE-14295
>                 URL: https://issues.apache.org/jira/browse/HIVE-14295
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 1.3.0, 2.1.0
>            Reporter: niklaus xiao
>            Assignee: niklaus xiao
>            Priority: Minor
>             Fix For: 1.3.0
>
>         Attachments: HIVE-14295.1.patch
>
>
> DropTableEvent:
> {code}
>   public DropTableEvent(Table table, boolean status, boolean deleteData, HMSHandler handler)
{
>     super(status, handler);
>     this.table = table;
>     // In HiveMetaStore, the deleteData flag indicates whether DFS data should be
>     // removed on a drop.
>     this.deleteData = false;
>   }
> {code}
> Same as PreDropPartitionEvent and PreDropTableEvent



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

Mime
View raw message