You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Nikhil Bonte (JIRA)" <ji...@apache.org> on 2019/03/22 10:24:00 UTC
[jira] [Updated] (ATLAS-3094) UniqueAttributes are not populating
in relationship notification message
[ 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}
was:
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}
> 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}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)