[jira] [Updated] (ATLAS-4842) Export/Import: fetchType as "incremental" does full export instead of connected

2024-03-19 Thread Priyanshi Shah (Jira)


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

Priyanshi Shah updated ATLAS-4842:
--
Attachment: 0001-Hive-Incremental.patch

> Export/Import: fetchType as "incremental" does full export instead of 
> connected
> ---
>
> Key: ATLAS-4842
> URL: https://issues.apache.org/jira/browse/ATLAS-4842
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Sheetal Shah
>Assignee: Priyanshi Shah
>Priority: Major
> Attachments: 0001-Hive-Incremental.patch
>
>
> Create two hive_tables in same database:
>  # create table hive1(id int);
>  # create table hive2(name string);
> Perform incremental export of hive1 with changeMarker provided by previous 
> export.
> Import the zip.
> Expectation is only hive1 to be exported and imported, but it does full 
> export and hive2 is also imported.
>     



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


Re: Review Request 74939: ATLAS-4842 : Export/Import: fetchType as "incremental" does full export instead of connected

2024-03-19 Thread Priyanshi Shah

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74939/
---

(Updated March 19, 2024, 9:03 a.m.)


Review request for atlas, Jayendra Parab, Pinal Shah, and Sheetal Shah.


Summary (updated)
-

ATLAS-4842 : Export/Import: fetchType as "incremental" does full export instead 
of connected


Bugs: ATLAS-4842
https://issues.apache.org/jira/browse/ATLAS-4842


Repository: atlas


Description
---

Steps:

create two hive_tables in same database:

1. create table hive1(id int);
2. create table hive2(name string);
3. Perform incremental export of hive1 with changeMarker provided by previous 
export.
4. Import the zip.

Expectations:

a) Expectation is only the requested hive_table hive1 should be exported.

Problem:

hive2 is also imported.


Diffs
-

  
repository/src/main/java/org/apache/atlas/repository/impexp/EntitiesExtractor.java
 da5cf37c4 
  
repository/src/main/java/org/apache/atlas/repository/impexp/ExportService.java 
65d7a1872 


Diff: https://reviews.apache.org/r/74939/diff/1/


Testing
---

Manual testing has been done for the same.


Thanks,

Priyanshi Shah



[jira] [Assigned] (ATLAS-4842) Export/Import: fetchType as "incremental" does full export instead of connected

2024-03-19 Thread Sheetal Shah (Jira)


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

Sheetal Shah reassigned ATLAS-4842:
---

Assignee: Priyanshi Shah

> Export/Import: fetchType as "incremental" does full export instead of 
> connected
> ---
>
> Key: ATLAS-4842
> URL: https://issues.apache.org/jira/browse/ATLAS-4842
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Sheetal Shah
>Assignee: Priyanshi Shah
>Priority: Major
>
> Create two hive_tables in same database:
>  # create table hive1(id int);
>  # create table hive2(name string);
> Perform incremental export of hive1 with changeMarker provided by previous 
> export.
> Import the zip.
> Expectation is only hive1 to be exported and imported, but it does full 
> export and hive2 is also imported.
>     



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


[jira] [Updated] (ATLAS-4842) Export/Import: fetchType as "incremental" does full export instead of connected

2024-03-19 Thread Sheetal Shah (Jira)


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

Sheetal Shah updated ATLAS-4842:

Description: 
Create two hive_tables in same database:
 # create table hive1(id int);
 # create table hive2(name string);

Perform incremental export of hive1 with changeMarker provided by previous 
export.

Import the zip.

Expectation is only hive1 to be exported and imported, but it does full export 
and hive2 is also imported.
    

  was:
Create two hive_tables in same database:
 # create table hive1(id int);
 # create table hive2(name string);

Perform incremental export of hive1 with changeMarker provided by previous 
export.

Import the zip.

Expectation : only hive1 to be exported

Problem :  hive2 is also imported.
    


> Export/Import: fetchType as "incremental" does full export instead of 
> connected
> ---
>
> Key: ATLAS-4842
> URL: https://issues.apache.org/jira/browse/ATLAS-4842
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Reporter: Sheetal Shah
>Priority: Major
>
> Create two hive_tables in same database:
>  # create table hive1(id int);
>  # create table hive2(name string);
> Perform incremental export of hive1 with changeMarker provided by previous 
> export.
> Import the zip.
> Expectation is only hive1 to be exported and imported, but it does full 
> export and hive2 is also imported.
>     



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


[jira] [Created] (ATLAS-4842) Export/Import: fetchType as "incremental" does full export instead of connected

2024-03-19 Thread Sheetal Shah (Jira)
Sheetal Shah created ATLAS-4842:
---

 Summary: Export/Import: fetchType as "incremental" does full 
export instead of connected
 Key: ATLAS-4842
 URL: https://issues.apache.org/jira/browse/ATLAS-4842
 Project: Atlas
  Issue Type: Bug
  Components:  atlas-core
Reporter: Sheetal Shah


Create two hive_tables in same database:
 # create table hive1(id int);
 # create table hive2(name string);

Perform incremental export of hive1 with changeMarker provided by previous 
export.

Import the zip.

Expectation : only hive1 to be exported

Problem :  hive2 is also imported.
    



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