Mandar Ambawane created ATLAS-5029:
--------------------------------------

             Summary: Connected export : When multiple entities are exported , 
not all of its connected entities are exported
                 Key: ATLAS-5029
                 URL: https://issues.apache.org/jira/browse/ATLAS-5029
             Project: Atlas
          Issue Type: Bug
            Reporter: Mandar Ambawane
            Assignee: Mandar Ambawane


*+STEPS TO REPRODUCE:+*

1. Create hive table itable_1 and lineage lineage 
itable_1 -> itable_2 -> itable_3 -> itable_4 -> itable_5 -> itable_6.

2. In the export request , export both itable_1 and itable_2
{code:java}
{"options": {"fetchType": "connected"}, "itemsToExport": [{"typeName": 
"hive_table", "uniqueAttributes": {"qualifiedName": "default.itable_1@cm"}}, 
{"typeName": "hive_table", "uniqueAttributes": {"qualifiedName": 
"default.itable_2@cm"}}]} 
{code}
3. Import the zip to target cluster

 

+*CURRENT BEHAVIOUR:*+

Expected itable_1, itable_2, itable_3 to be exported for incremental fetch type 
but only itable_1, itable_2 were exported.

if the tables itable_1, itable_5 are provided in the payload , itable_1, 
itable_2 (connected to itable_1) itable_4, itable_5,itable_6 (connected to 
itable_5) are also exported - this is because itable_5 wasn't connected to 
itable_1

but itable_2 was connected to itable_1 so even though itable_2 was provided in 
the request , its connected entity itable_3 was not exported.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to