You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Priyanshi Shah <pr...@freestoneinfotech.com> on 2024/08/28 06:17:58 UTC
Review Request 75193: ATLAS-4848 : Atlas 'updateTime' parameter is not updated when term is added.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75193/
-----------------------------------------------------------
Review request for atlas, Jayendra Parab, Mandar Ambawane, Pinal Shah, and Sheetal Shah.
Bugs: ATLAS-4848
https://issues.apache.org/jira/browse/ATLAS-4848
Repository: atlas
Description
-------
Steps to reproduce:
1. Create hive_table testhive1 and perform incremental export for the same with changeMarker 0.
2. Now, before 2nd run create and assign term t1 to testhive1 and perform incremental export with changeMarker that we got after 1st run.
3. Result is export works but the term assigned to the hive_table entity didn't got exported.
Problem:
When term was getting assigned to hive_table entity, it did not updated the value of 'updateTime' attribute of that entity and hence,during 2nd run with incremental export it didn't exported the term as for incremental export we fetch data according to the changeMarker provided.
Fix:
Attribute 'updateTime' value gets updated after the term is assigned to an entity.
Diffs
-----
repository/src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java 8a161e420
Diff: https://reviews.apache.org/r/75193/diff/1/
Testing
-------
Manual testing was performed.
Thanks,
Priyanshi Shah
Re: Review Request 75193: ATLAS-4848 : Atlas 'updateTime' parameter is not updated when term is added.
Posted by Priyanshi Shah <pr...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75193/
-----------------------------------------------------------
(Updated Aug. 28, 2024, 12:16 p.m.)
Review request for atlas, Jayendra Parab, Mandar Ambawane, Pinal Shah, and Sheetal Shah.
Bugs: ATLAS-4848
https://issues.apache.org/jira/browse/ATLAS-4848
Repository: atlas
Description
-------
Steps to reproduce:
1. Create hive_table testhive1 and perform incremental export for the same with changeMarker 0.
2. Now, before 2nd run create and assign term t1 to testhive1 and perform incremental export with changeMarker that we got after 1st run.
3. Result is export works but the term assigned to the hive_table entity didn't got exported.
Problem:
When term was getting assigned to hive_table entity, it did not updated the value of 'updateTime' attribute of that entity and hence,during 2nd run with incremental export it didn't exported the term as for incremental export we fetch data according to the changeMarker provided.
Fix:
Attribute 'updateTime' value gets updated after the term is assigned to an entity.
Diffs
-----
repository/src/main/java/org/apache/atlas/glossary/GlossaryTermUtils.java 8a161e420
Diff: https://reviews.apache.org/r/75193/diff/1/
Testing (updated)
-------
Manual testing was performed.
PC link: https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/1687/
Thanks,
Priyanshi Shah