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

Nikhil Bonte updated ATLAS-3094:
--------------------------------
    Description: 
For some endDefs, uniqueAttributes are not populating in relationship 
notification message.

 

e.g. refer end2 which is not having uniqueAttributes :

 
{code:java}
{
 ...,
 "message": {
 "type": "ENTITY_NOTIFICATION_V2",
 "relationship": {
 "typeName": "hive_table_columns",
 "guid": "3d3cec1f-e057-43a3-a167-cac69a1248a6",
 "status": "ACTIVE",
 "label": "__hive_table.columns",
 "end1": {
   "guid": "c44a1dda-5c89-4b3c-9679-9b368ae9f18a",
   "typeName": "hive_table",
   "uniqueAttributes":{ 
      "qualifiedName": "new_db.new_tbl_12@07012019" 
    }
  },
  "end2":{ 
    "guid": "85bf3819-8289-46ed-9279-34b28a4dbe35",
    "typeName": "hive_column" 
  }
 },
 "operationType": "RELATIONSHIP_CREATE",
 "eventTime": 1548828513837
 }
}
{code}
{noformat}
*no* further _formatting_ is done here{noformat}
 

  was:
For some endDefs, uniqueAttributes are not populating in relationship 
notification message.

 

e.g. refer end2 which is not having uniqueAttributes :

{
 "version": {
 "version": "1.0.0",
 "versionParts": [
 1
 ]
 },
 "msgCompressionKind": "NONE",
 "msgSplitIdx": 1,
 "msgSplitCount": 1,
 "msgSourceIP": "172.22.104.91",
 "msgCreatedBy": "",
 "msgCreationTime": 1548828516174,
 "message": {
 "type": "ENTITY_NOTIFICATION_V2",
 "relationship": {
 "typeName": "hive_table_columns",
 "guid": "3d3cec1f-e057-43a3-a167-cac69a1248a6",
 "status": "ACTIVE",
 "label": "__hive_table.columns",
 "end1": {
 "guid": "c44a1dda-5c89-4b3c-9679-9b368ae9f18a",
 "typeName": "hive_table",
 "uniqueAttributes": {
 "qualifiedName": "new_db.new_tbl_12@07012019"
 }
 },
 "end2": {
 "guid": "85bf3819-8289-46ed-9279-34b28a4dbe35",
 "typeName": "hive_column"
 }
 },
 "operationType": "RELATIONSHIP_CREATE",
 "eventTime": 1548828513837
 }
}


> UniqueAttributes are not populating in relationship notification message
> ------------------------------------------------------------------------
>
>                 Key: ATLAS-3094
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3094
>             Project: Atlas
>          Issue Type: Sub-task
>            Reporter: Nikhil Bonte
>            Assignee: Nikhil Bonte
>            Priority: Major
>
> For some endDefs, uniqueAttributes are not populating in relationship 
> notification message.
>  
> e.g. refer end2 which is not having uniqueAttributes :
>  
> {code:java}
> {
>  ...,
>  "message": {
>  "type": "ENTITY_NOTIFICATION_V2",
>  "relationship": {
>  "typeName": "hive_table_columns",
>  "guid": "3d3cec1f-e057-43a3-a167-cac69a1248a6",
>  "status": "ACTIVE",
>  "label": "__hive_table.columns",
>  "end1": {
>    "guid": "c44a1dda-5c89-4b3c-9679-9b368ae9f18a",
>    "typeName": "hive_table",
>    "uniqueAttributes":{ 
>       "qualifiedName": "new_db.new_tbl_12@07012019" 
>     }
>   },
>   "end2":{ 
>     "guid": "85bf3819-8289-46ed-9279-34b28a4dbe35",
>     "typeName": "hive_column" 
>   }
>  },
>  "operationType": "RELATIONSHIP_CREATE",
>  "eventTime": 1548828513837
>  }
> }
> {code}
> {noformat}
> *no* further _formatting_ is done here{noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to