----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57400/ -----------------------------------------------------------
Review request for atlas, Apoorv Naik, Ashutosh Mestry, Madhan Neethiraj, Suma Shivaprasad, and Vimal Sharma. Bugs: ATLAS-1656 https://issues.apache.org/jira/browse/ATLAS-1656 Repository: atlas Description ------- Before lineage query is fired, query is issued to check if entity exists using guid and superType name. superTypes is not an indexed property and query takes sometime to validate if entity exists for large data sets. Improve above flow by searching graph using guid and then filter based on supertype in-memory. Diffs ----- repository/src/main/java/org/apache/atlas/discovery/EntityLineageService.java 3035d16 repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java d7bffff Diff: https://reviews.apache.org/r/57400/diff/1/ Testing ------- Validated lineage query in Atlas Server with million entities - performance improved from 22sec to 1.2 sec. Thanks, Sarath Subramanian