You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Kapildeo Nayak <ka...@freestoneinfotech.com> on 2019/02/11 11:27:21 UTC
Re: Review Request 69682: ATLAS-3024 On hive_db rename few attributes
are still not renamed after successful import
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69682/
-----------------------------------------------------------
(Updated Feb. 11, 2019, 11:27 a.m.)
Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, Nixon Rodrigues, and Sarath Subramanian.
Changes
-------
Added Test Cases
Bugs: ATLAS-3024
https://issues.apache.org/jira/browse/ATLAS-3024
Repository: atlas
Description
-------
1) Created a database db9 with a table and external table and exported it.
2) On Importing , renamed it to db11 using :
{\"conditions\": {\"hive_db.name\":\"EQUALS: db9\"},\"action\":{\"hive_db.name\":\"SET: db11\"}}]"
3. Attributes related to hive_db location, hive_storagedesc location and attributes of hive_process and hdfs_path are not renamed and still have db9 reference.
Diffs (updated)
-----
intg/src/main/java/org/apache/atlas/entitytransform/BaseEntityHandler.java 975e4ddd6
intg/src/main/java/org/apache/atlas/entitytransform/HiveDatabaseEntityHandler.java b8032aa09
intg/src/main/java/org/apache/atlas/entitytransform/HiveProcessEntityHandler.java PRE-CREATION
intg/src/main/java/org/apache/atlas/entitytransform/HiveStorageDescriptorEntityHandler.java 38de206d1
intg/src/main/java/org/apache/atlas/entitytransform/TransformationConstants.java 247de7320
intg/src/test/java/org/apache/atlas/entitytransform/TransformationHandlerTest.java d6b0ede2b
Diff: https://reviews.apache.org/r/69682/diff/5/
Changes: https://reviews.apache.org/r/69682/diff/4-5/
Testing
-------
Tested in import-export with transformers options.
Thanks,
Kapildeo Nayak