Sarath Subramanian created ATLAS-1642:
-----------------------------------------

             Summary: Incorrect edges created when creating external hive table 
with partition keys
                 Key: ATLAS-1642
                 URL: https://issues.apache.org/jira/browse/ATLAS-1642
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.8-incubating
            Reporter: Sarath Subramanian
            Priority: Critical


1. Create external hive table with partition keys in beeline:-

create EXTERNAL table sampleTable1(id int, name string) comment 'table comment' 
partitioned by(dt string) location '/user/hive/data/someTestPath';

2. Check the hive table 'sampleTable1' entity in atlas UI:
    a. Partition key column 'dt' is duplicated in columns property and status 
is deleted. 

On investigating the vertex and edges of the table:
1. Table vertex has incorrect edge values for:
hive_table.columns - has partitionkey edge here (which shouldn't be stored here)

2. There is 3 outgoing edges from table to partition key column instead of one.

3. The status of partition key column is 'DELETED'




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to