You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Chao Sun (JIRA)" <ji...@apache.org> on 2016/07/27 18:40:20 UTC
[jira] [Updated] (HIVE-14340) Add a new hook triggers before query
compilation and after query execution
[ https://issues.apache.org/jira/browse/HIVE-14340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Sun updated HIVE-14340:
----------------------------
Attachment: HIVE-14340.0.patch
Attaching initial patch. This adds a new configuration:
{code}
hive.query.hooks
{code}
which triggers before a query's compilation and after its execution.
> 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
> Attachments: HIVE-14340.0.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)