hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Thusoo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-463) Add a pre execution hook to ql
Date Mon, 04 May 2009 20:16:30 GMT

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

Ashish Thusoo commented on HIVE-463:

1. Not sure if we need hive.exec.pre.hooks in hive-default.xml. The HiveConf entry already
defines an empty string as a default. Do you have any particular use case in mind which is
not covered by that?

2. Will add the error message and a negative test case
3. I agree passing the URI is useful, will change this to do that
4. Will add the null check to WriteEntity and ReadEntity
5. Set because we want this to not have duplicates. LinkedHashSet to make the order deterministic.
Did you have anything else in mind?
6. Will fix the build stuff.

> Add a pre execution hook to ql
> ------------------------------
>                 Key: HIVE-463
>                 URL: https://issues.apache.org/jira/browse/HIVE-463
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Ashish Thusoo
>            Assignee: Ashish Thusoo
>            Priority: Minor
>         Attachments: patch-463.txt
> There may be cases where user defined logic needs to be executed between the compilation
and execution phases of a query. One simple example that we ran into is based on archival.
If an external utility archives table partitions of example, then a plugin logic can check
that for the partitions and take suitable action such as:
> - Unarchiving the partition seemlessly
> - Throwing an error
> etc..
> This same framework can also be used for updating query compilation stats.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message