Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1476

Create Entity via UI : Unable to add the same column again after deleting the column from the table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8-incubating
    • atlas-core
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              kevalbhatt Keval Bhatt
              sharmadhas Sharmadha S
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: