[ https://issues.apache.org/jira/browse/HIVE-1546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906185#action_12906185 ]
Namit Jain commented on HIVE-1546: ---------------------------------- I agree it would be good to have a meeting. btw, the hooks I was referrring to and Pre/Post Execution Statement level hooks, with the following signature: public interface PostExecute { /** * The run command that is called just before the execution of the query. * * @param sess * The session state. * @param inputs * The set of input tables and partitions. * @param outputs * The set of output tables, partitions, local and hdfs directories. * @param lInfo * The column level lineage information. * @param ugi * The user group security information. */ void run(SessionState sess, Set<ReadEntity> inputs, Set<WriteEntity> outputs, LineageInfo lInfo, UserGroupInformation ugi) throws Exception; } Looking at the spec., it looks like a subset of DDLs need to be supported, which can be easily accomplished via the hook. If need be, we can pass more info. in the hook - there was a plan to add job level hook also, which is not checked in, but via which the configuration etc. can be changed. > Ability to plug custom Semantic Analyzers for Hive Grammar > ---------------------------------------------------------- > > Key: HIVE-1546 > URL: https://issues.apache.org/jira/browse/HIVE-1546 > Project: Hadoop Hive > Issue Type: Improvement > Components: Metastore > Affects Versions: 0.7.0 > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > Fix For: 0.7.0 > > Attachments: hive-1546-3.patch, hive-1546-4.patch, hive-1546.patch, > hive-1546_2.patch > > > It will be useful if Semantic Analysis phase is made pluggable such that > other projects can do custom analysis of hive queries before doing metastore > operations on them. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.