[
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
(ALTERTABLE_ADDCOLS:sample.test_external@bd:1560757768000->:sample.test_external@bd:1560757768000):
!5.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
(ALTERTABLE_ADDCOLS:sample.test_external@bd:1560757768000->:sample.test_external@bd:1560757768000):
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: 0001-ATLAS-3280.patch, 5.png
>
>
> When altering an external table or a view, Hive Hook will create lineage
> incorrectly as follows
> (ALTERTABLE_ADDCOLS:sample.test_external@bd:1560757768000->:sample.test_external@bd:1560757768000):
> !5.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)