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

Lefty Leverenz commented on HIVE-14340:
---------------------------------------

Doc note:  This adds *hive.query.lifetime.hooks* to HiveConf.java in release 
2.2.0, so it will need to be documented in the Configuration Properties wikidoc.

* [Configuration Properties -- Query and DDL Execution | 
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-QueryandDDLExecution]

> Add a new hook triggers before query compilation and after query execution
> --------------------------------------------------------------------------
>
>                 Key: HIVE-14340
>                 URL: https://issues.apache.org/jira/browse/HIVE-14340
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 2.2.0
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>              Labels: TODOC2.2
>             Fix For: 2.2.0
>
>         Attachments: HIVE-14340.0.patch, HIVE-14340.1.patch, 
> HIVE-14340.2.patch
>
>
> In some cases we may need to have a hook that activates before a query 
> compilation and after its execution. For instance, dynamically generate a UDF 
> specifically for the running query and clean up the resource after the query 
> is done. The current hooks only covers pre & post semantic analysis, pre & 
> post query execution, which doesn't fit the requirement.



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

Reply via email to