Repository: atlas
Updated Branches:
  refs/heads/branch-1.0 be4c0c03f -> 9d4df0f53


ATLAS-641: lineage for view/table created from a view includes underlying 
tables as well

(cherry picked from commit 80f556a704ee21b78598e87de36777f03ebe7368)


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/9d4df0f5
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/9d4df0f5
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/9d4df0f5

Branch: refs/heads/branch-1.0
Commit: 9d4df0f534467d71702fd7aade268641c8f7cf68
Parents: be4c0c0
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 21:34:37 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/9d4df0f5/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);
                     }

Reply via email to