You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Jiaqi Shan (JIRA)" <ji...@apache.org> on 2019/06/17 08:53:00 UTC

[jira] [Updated] (ATLAS-3280) Hive Hook creates lineage incorrectly when alter external table or view

     [ 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:
 [^image-2019-06-17-16-50-07-833.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.

  was:
When altering an external table or a view, Hive Hook will create lineage incorrectly as follows:
 !image-2019-06-17-16-50-07-833.png|thumbnail! 
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, 2.0.0
>            Reporter: Jiaqi Shan
>            Priority: Major
>             Fix For: 1.0.0, 1.1.0, 2.0.0
>
>         Attachments: image-2019-06-17-16-50-07-833.png
>
>
> When altering an external table or a view, Hive Hook will create lineage incorrectly as follows:
>  [^image-2019-06-17-16-50-07-833.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.



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