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

Jimmy Xiang commented on HIVE-13112:
------------------------------------

Have you tried the lineage hook: org.apache.hadoop.hive.ql.hooks.LineageLogger?

> Expose Lineage information in case of CTAS
> ------------------------------------------
>
>                 Key: HIVE-13112
>                 URL: https://issues.apache.org/jira/browse/HIVE-13112
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Harish Butani
>
> This is not happening because Lineage is being exposed by MoveTask which 
> checks for a LoadTableDesc. In case of CTAS the table is created after the 
> MoveTask.
> Proposed solution is to add a flag to CreateTableDesc to track a CTAS 
> operation, and have the DDLTask expose the lineage if this flag is set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to