-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72597/
-----------------------------------------------------------
(Updated June 17, 2020, 12:03 p.m.)
Review request for atlas, Madhan Neethiraj and Sarath Subramanian.
Summary (updated)
-----------------
ATLAS-3844 :- Ignore relationship attribute while fetching entities in Import
Hive bridge.
Bugs: ATLAS-3844
https://issues.apache.org/jira/browse/ATLAS-3844
Repository: atlas
Description
-------
Currently in Import Hive bridge, the hive_db and hive_table entitites are
fetched along relationshipAttributes and related Attributes and this attributes
are cleared thereafter.
Instead fetching relationshipAttributes and related Attributes in payload, it
is will good to ignoreRelationship to reduce the size of payload.
Diffs (updated)
-----
addons/hive-bridge/src/main/java/org/apache/atlas/hive/bridge/HiveMetaStoreBridge.java
eb691dc18
Diff: https://reviews.apache.org/r/72597/diff/3/
Changes: https://reviews.apache.org/r/72597/diff/2-3/
Testing
-------
Created database / table by disabling the atlas-hive hook and executed
import-hive.sh due import database and its tables.
Tested following cases.
1. DB exists in atlas with some tables
2. DB exists in atlas with no tables
3. No DB exists in atlas.
Thanks,
Nixon Rodrigues