[
https://issues.apache.org/jira/browse/HIVE-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059813#comment-15059813
]
Amey Barve commented on HIVE-4841:
----------------------------------
When will HiveMetaHook start supporting partitions?
I can see Partition import in the HiveMetaHook's interface at
(https://cwiki.apache.org/confluence/display/Hive/StorageHandlers)
{code:title=HiveMetaHook.java|borderStyle=solid}
package org.apache.hadoop.hive.metastore;
import org.apache.hadoop.hive.metastore.api.MetaException;
import org.apache.hadoop.hive.metastore.api.Partition;
import org.apache.hadoop.hive.metastore.api.Table;
public interface HiveMetaHook {
public void preCreateTable(Table table)
throws MetaException;
public void rollbackCreateTable(Table table)
throws MetaException;
public void commitCreateTable(Table table)
throws MetaException;
public void preDropTable(Table table)
throws MetaException;
public void rollbackDropTable(Table table)
throws MetaException;
public void commitDropTable(Table table, boolean deleteData)
throws MetaException;
{code}
But when I actually open HiveMetaHook interface file with hive version 1.2.1,
there is no such import.
When is partitions support come in HiveMetaHook, or is there any alternative?
> Add partition level hook to HiveMetaHook
> ----------------------------------------
>
> Key: HIVE-4841
> URL: https://issues.apache.org/jira/browse/HIVE-4841
> Project: Hive
> Issue Type: Improvement
> Components: StorageHandler
> Reporter: Navis
> Assignee: Navis
> Priority: Minor
> Attachments: HIVE-4841.4.patch.txt, HIVE-4841.D11673.1.patch,
> HIVE-4841.D11673.2.patch, HIVE-4841.D11673.3.patch
>
>
> Current HiveMetaHook provides hooks for tables only. With partition level
> hook, external storages also could be revised to exploit PPR.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)