Paresh Devalia created ATLAS-4638:
-------------------------------------

             Summary: 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


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)

Reply via email to