You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Paresh Devalia (Jira)" <ji...@apache.org> on 2022/07/15 08:43:00 UTC

[jira] [Resolved] (ATLAS-4638) Column inconsistent in Hive and Atlas

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

Paresh Devalia resolved ATLAS-4638.
-----------------------------------
      Assignee: Paresh Devalia
    Resolution: Cannot Reproduce

> Column inconsistent in Hive and Atlas
> -------------------------------------
>
>                 Key: ATLAS-4638
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4638
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Paresh Devalia
>            Assignee: Paresh Devalia
>            Priority: Major
>
> PROBLEM STATEMENT
> Created a DB_1 in Hive and disable the Atlas hook from hive and hive_tez.
> Created 1 tables with 2 column in DB_1.
> In Atlas UI we checked it has no entity created, so we ran import-hive.sh
> bash import-hive.sh -d DB_1 -t table_1, so this command will only create one entity with 2 column in atlas.
> Add 3rd column on that table from hive -> ALTER TABLE tableName ADD COLUMNS (columnName int);
> Than we ran import-hive.sh -d DB_1 -t table_1.
> In Atlas UI we checked entity already created, but 3rd column is not added.
> 3 column in hive and in atlas only 2 column present.



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