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

Raghav Aggarwal commented on HIVE-28768:
----------------------------------------

[~kkasa] , will come up with a doc in a few days, till then we can keep this 
Jira open.

> Remove hardcoded post exec hooks
> --------------------------------
>
>                 Key: HIVE-28768
>                 URL: https://issues.apache.org/jira/browse/HIVE-28768
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Krisztian Kasa
>            Assignee: Raghav Aggarwal
>            Priority: Major
>              Labels: pull-request-available
>
> Currently lineage information collection depends on check whether specific 
> post exec hooks present or not.
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java#L78-L81]
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L13270-L13272]
> The goal is to replace these with configuration setting checks. Hive already 
> has a settings for this purpose: 
> [HIVE_LINEAGE_STATEMENT_FILTER|https://github.com/apache/hive/blob/523f7b7f0ae2951eccdf1eb08a426d0984d36e41/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L3883C5-L3888]
> There is also 
> [HIVE_LINEAGE_INFO|https://github.com/apache/hive/blob/523f7b7f0ae2951eccdf1eb08a426d0984d36e41/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L3879-L3882]
>  but this one is deprecated in favor of HIVE_LINEAGE_STATEMENT_FILTER



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to