atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Radley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-1481) Create Entity via UI : 2 way association is needed to associate hive_column to hive_table
Date Thu, 19 Jan 2017 15:51:26 GMT

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

David Radley commented on ATLAS-1481:
-------------------------------------

This came up on the dev list. I suggest adding to the constraint to indicate to Atlas it needs
to keep the 2 ends of the reference in sync.   

Maybe something like this:
 
constraintDefs": [
                        {
                            "type": "mappedFromRef",
                            "params": {
                                "inSyncRefAttribute": "TestType2",
		                "refLabel ": "name"	
                            }
                        } 

> Create Entity via UI : 2 way association is needed to associate hive_column to hive_table
> -----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1481
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1481
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Sharmadha Sainath
>
> 1.Created a hive_table test_table using Create Entity in UI with empty columns.
> 2. Created hive_column column1 with table as test_table.
> In column1 properties, table is test_table .
> But,it is required to add the hive_column in test_table by editing the test_table also
so that column1 is actually associated to test_table.
> After adding the column to table by editing the table entity ,it may cause inconsistency
,if hive_column is updated later to be a part of some other new table and the old table is
not updated properly.



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

Mime
View raw message