[ 
https://issues.apache.org/jira/browse/ATLAS-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Madhan Neethiraj resolved ATLAS-1507.
-------------------------------------
       Resolution: Fixed
         Assignee: Madhan Neethiraj
    Fix Version/s: 0.8-incubating

Committed to master: 
http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/c8f9f363

> Fix incorrect relationship defined in hive-model
> ------------------------------------------------
>
>                 Key: ATLAS-1507
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1507
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.8-incubating
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>             Fix For: 0.8-incubating
>
>         Attachments: ATLAS-1507.patch
>
>
> Following relationships in hive-model need update:
> - hive_table.columns -> hive_column.table is defined as mappedFromRef.
>   Not all hive_column objects that refer to a table might be included in 
> 'hive_table.columns' attribute - given few columns might be referenced from 
> hive_table.partitionKeys. This would require hive_table.columns to be modeled 
> with foreignKey constraint, as shown below:
>   hive_table.columns -> hive_column foreignKey
> - Also attributes hive_table.columns and hive_table.partitionKeys should 
> automatically be updated when a column referenced is deleted. Model should be 
> updated to mark the foreignKey constraint with "onDelete=update" param.



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

Reply via email to