Sudhanshu Arora created HIVE-3747:
-------------------------------------

             Summary: 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


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

Reply via email to