[ 
https://issues.apache.org/jira/browse/ATLAS-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898496#comment-15898496
 ] 

Madhan Neethiraj commented on ATLAS-1636:
-----------------------------------------

This issue is caused by incorrect hive-model in Atlas, where hive_column.table 
attribute has inverseRef set to hive_table.columns. However, not all 
hive_column instance are part of hive_table.columns attribute; hive_column 
instances that are partitionKeys should only be associated with 
hive_table.partitionKeys attribute. Fixing this issue would require updating 
the model to remove inverseRef from hive_column.table attribute.

> Hive partitions are showed as Columns in addition to hive columns in 
> /api/atlas/entities response and in Atlas UI.
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1636
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1636
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.8-incubating
>            Reporter: Sharmadha Sainath
>            Assignee: Sarath Subramanian
>            Priority: Blocker
>         Attachments: ATLAS-1636.1.patch
>
>
> Created table t1
> with columns : id int,name string,dob date
> partitioned by country string.
> Atlas UI shows "country" in columns and also in partitionKeys
> /api/atlas/entities/<guid> lists the "country" in columns.



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

Reply via email to