hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-7730) Get instance of HiveSemanticAnalyzerHookContext from configuration
Date Thu, 14 Aug 2014 15:18:14 GMT


Ashutosh Chauhan commented on HIVE-7730:

If all you want is list of columns accessed in query, that is possible today with existing
interface. Look at: itests/util/src/main/java/org/apache/hadoop/hive/ql/hooks/

> Get instance of HiveSemanticAnalyzerHookContext from configuration
> ------------------------------------------------------------------
>                 Key: HIVE-7730
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Xiaomeng Huang
>         Attachments: HIVE-7730.001.patch
> Now what we get from HiveSemanticAnalyzerHookContextImpl is limited. If we have hook
of HiveSemanticAnalyzerHook, we may want to get more things from hookContext. (e.g. the needed
colums from query).
> So we should get instance of HiveSemanticAnalyzerHookContext from configuration, extends
HiveSemanticAnalyzerHookContext with a new implementation, overide the HiveSemanticAnalyzerHookContext.update()
and put what you want to the class.

This message was sent by Atlassian JIRA

View raw message