You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2012/12/03 05:37:58 UTC

[jira] [Commented] (HIVE-3747) Provide hive operation name for hookContext

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

Namit Jain commented on HIVE-3747:
----------------------------------

+1
                
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira