You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/01/18 09:25:26 UTC

[jira] [Created] (ATLAS-1476) Create Entity via UI : Unable to add the same column again after deleting the column from the table

Sharmadha Sainath created ATLAS-1476:
----------------------------------------

             Summary: Create Entity via UI : Unable to add the same column again after deleting the column from the table
                 Key: ATLAS-1476
                 URL: https://issues.apache.org/jira/browse/ATLAS-1476
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Sharmadha Sainath


1.Created a hive_table test_table (created using Create Entity ) with column column1(also created using Create Entity).
2.Clicked on edit button of the test_table and removed column1.
3.In schema tab of the hive_table, column1 is shown DELETED.
4.Created another hive_column column1 with same name and qualified name.
5.Tried to add the hive_column column1(newly created) to the test_table. 'Edit Entity' window of test_table still has the deleted hive_column and not able to add the new hive_column column1.

This is possible with hive CLI :
1. create table table1(id int,name string)
2. alter table table1 replace columns(name string)  >>> id is DELETED
3. alter table table1 replace columns(id int,name string) >>> 2 ids are present , one ACTIVE,one DELETED



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)