-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71319/
-----------------------------------------------------------
Review request for atlas, Ashutosh Mestry, Aadarsh Jajodia, Sridhar K, Le Ma,
Madhan Neethiraj, and Nixon Rodrigues.
Bugs: ATLAS-3380
https://issues.apache.org/jira/browse/ATLAS-3380
Repository: atlas
Description
-------
Hive commands:
1.create database db1;
2.create table table1(id int);
3.alter table table1 rename to db1.table2;
In table2's entity definition , db attribute is still pointing to default db ,
expected is db1. Other attributes like qualifiedName , sd's qualifiedName are
pointing to db1 correctly.
Diffs
-----
addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/AlterTableRename.java
f496b788d
intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java 5b24ef14e
Diff: https://reviews.apache.org/r/71319/diff/1/
Testing
-------
Manually validated the fix works.
Thanks,
Sarath Subramanian