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

(Updated March 18, 2024, 7:34 a.m.)


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


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


Repository: atlas


Description
-------

Create 2 tables

create table hive_table_1(id int) stored as iceberg;
create table hive_table_2(id int);
Export iceberg table using fetchType incremental and changeMarker 0
 
Import the zip.
 
Expectation is only hive_table_1 to be exported and imported, but it does full 
export and hive_table_2 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 (updated)
-------

Steps to repro:
create two hive_tables in same database:

1. create table hive1(id int);
2. create table hive2(name string);

Expectations:
a) Perform incremental export of hive1 with changeMarker provided by previous 
export. 
b) Import the zip.
c) Expectation is only the requested hive_table hive1 should be exported, but 
actually hive2 is also imported.

Manual testing has been done for the same.


Thanks,

Priyanshi Shah

Reply via email to