[
https://issues.apache.org/jira/browse/HIVE-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liyin Tang updated HIVE-1785:
-----------------------------
Attachment: hive_1785_1.patch
In this patch I have changed the interface of pre hoook and post hook.
So all the hooks will take the HookContext as parameter.
In HookContext, it has the QueryPlan, HiveConf and a list of Completed Tasks.
It will be easier to extend HookContext in the future if more information the
hook needs.
By the way, I generate diff based on Hive-1642( converting join into map join),
assuming this patch will be committed after Hive-1642.
Please review :)
> change Pre/Post Query Hooks to take in 1 parameter: HookContext
> ---------------------------------------------------------------
>
> Key: HIVE-1785
> URL: https://issues.apache.org/jira/browse/HIVE-1785
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Reporter: Namit Jain
> Assignee: Liyin Tang
> Attachments: hive_1785_1.patch
>
>
> This way, it would be possible to add new parameters to the hooks without
> changing the existing hooks.
> This will be a incompatible change, and all the hooks need to change to the
> new API
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.