ATLAS-920 Lineage graph is broken when there are multiple paths from same source table (kevalbhatt18 via sumasai)
Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/2f67fff1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/2f67fff1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/2f67fff1 Branch: refs/heads/0.7-incubating Commit: 2f67fff15ad18cf066d301c1cab9dd3234926655 Parents: 4677fc0 Author: Shwetha GS <[email protected]> Authored: Wed Jun 29 11:54:56 2016 +0530 Committer: Shwetha GS <[email protected]> Committed: Wed Jun 29 11:54:56 2016 +0530 ---------------------------------------------------------------------- dashboardv2/public/js/views/graph/LineageLayoutView.js | 6 +++++- release-log.txt | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/2f67fff1/dashboardv2/public/js/views/graph/LineageLayoutView.js ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/views/graph/LineageLayoutView.js b/dashboardv2/public/js/views/graph/LineageLayoutView.js index c4796d9..ecbbe51 100644 --- a/dashboardv2/public/js/views/graph/LineageLayoutView.js +++ b/dashboardv2/public/js/views/graph/LineageLayoutView.js @@ -210,7 +210,11 @@ define(['require', if (!obj[val1]) { that.startingPoint.push(val1); } - that.edgesAndvertices.edges[val1] = [key]; + if (that.edgesAndvertices.edges[val1]) { + that.edgesAndvertices.edges[val1].push(key); + } else { + that.edgesAndvertices.edges[val1] = [key]; + } }); }); } else { http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/2f67fff1/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index 35394bd..8608517 100644 --- a/release-log.txt +++ b/release-log.txt @@ -31,6 +31,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags) ALL CHANGES: +ATLAS-920 Lineage graph is broken when there are multiple paths from same source table (kevalbhatt18 via sumasai) ATLAS-940 Type cache implementation property name in atlas-application.properties is incorrect ( dkantor via sumasai) ATLAS-431 Remove un-used licenses (shwethags) ATLAS-934 Exclude temp files in source package (shwethags)
