Repository: atlas Updated Branches: refs/heads/master f37f3de75 -> 80f556a70
ATLAS-641: lineage for view/table created from a view includes underlying tables as well Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/80f556a7 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/80f556a7 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/80f556a7 Branch: refs/heads/master Commit: 80f556a704ee21b78598e87de36777f03ebe7368 Parents: f37f3de Author: Madhan Neethiraj <mad...@apache.org> Authored: Fri Jun 15 18:26:16 2018 -0700 Committer: Madhan Neethiraj <mad...@apache.org> Committed: Fri Jun 22 20:21:26 2018 -0700 ---------------------------------------------------------------------- .../org/apache/atlas/hive/hook/events/CreateHiveProcess.java | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/80f556a7/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java ---------------------------------------------------------------------- diff --git a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java index 33a2633..ae01d50 100644 --- a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java +++ b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/CreateHiveProcess.java @@ -87,6 +87,10 @@ public class CreateHiveProcess extends BaseHiveEvent { AtlasEntity entity = getInputOutputEntity(input, ret); + if (!input.isDirect()) { + continue; + } + if (entity != null) { inputs.add(entity); }