[ 
https://issues.apache.org/jira/browse/ATLAS-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiaqi Shan updated ATLAS-3280:
------------------------------
    Description: 
When altering an external table or a view, Hive Hook will create lineage 
incorrectly as follows 

 !alter_lineage.jpg! 
 
So we propose to add a parameter {{ignoreProcessEntity}} to 
{{CreateTable.getEntites}}. When set to true, Hive Hook won’t create lineage to 
external table or view. We also add the parameter to {{AlterTable}} accordingly.

  was:
When altering an external table or a view, Hive Hook will create lineage 
incorrectly as follows 

 !lineage.png! 
 
So we propose to add a parameter {{ignoreProcessEntity}} to 
{{CreateTable.getEntites}}. When set to true, Hive Hook won’t create lineage to 
external table or view. We also add the parameter to {{AlterTable}} accordingly.


> Hive Hook creates lineage incorrectly when alter external table or view
> -----------------------------------------------------------------------
>
>                 Key: ATLAS-3280
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3280
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Jiaqi Shan
>            Priority: Major
>             Fix For: 1.0.0, 1.1.0
>
>         Attachments: 0001-ATLAS-3280.patch, alter_lineage.jpg, lineage.png
>
>
> When altering an external table or a view, Hive Hook will create lineage 
> incorrectly as follows 
>  !alter_lineage.jpg! 
>  
> So we propose to add a parameter {{ignoreProcessEntity}} to 
> {{CreateTable.getEntites}}. When set to true, Hive Hook won’t create lineage 
> to external table or view. We also add the parameter to {{AlterTable}} 
> accordingly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to