Repository: atlas Updated Branches: refs/heads/master f93da20b3 -> 595c87808
ATLAS-2741: Deleted entities : DSL search with tag doesn't list the deleted entities to which that tag is associated Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/595c8780 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/595c8780 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/595c8780 Branch: refs/heads/master Commit: 595c87808a737374236bc63e0e5ed3c907969f7d Parents: f93da20 Author: Sarath Subramanian <[email protected]> Authored: Tue Jun 5 14:41:48 2018 -0700 Committer: Sarath Subramanian <[email protected]> Committed: Tue Jun 5 14:41:48 2018 -0700 ---------------------------------------------------------------------- repository/src/main/java/org/apache/atlas/query/GremlinClause.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/595c8780/repository/src/main/java/org/apache/atlas/query/GremlinClause.java ---------------------------------------------------------------------- diff --git a/repository/src/main/java/org/apache/atlas/query/GremlinClause.java b/repository/src/main/java/org/apache/atlas/query/GremlinClause.java index 087bcc6..454b343 100644 --- a/repository/src/main/java/org/apache/atlas/query/GremlinClause.java +++ b/repository/src/main/java/org/apache/atlas/query/GremlinClause.java @@ -46,7 +46,7 @@ enum GremlinClause { TEXT_CONTAINS("has('%s', org.janusgraph.core.attribute.Text.textRegex(%s))"), TEXT_PREFIX("has('%s', org.janusgraph.core.attribute.Text.textPrefix(%s))"), TEXT_SUFFIX("has('%s', org.janusgraph.core.attribute.Text.textRegex(\".*\" + %s))"), - TRAIT("outE('classifiedAs').has('__name', within('%s')).has('__state', 'ACTIVE').outV()"), + TRAIT("outE('classifiedAs').has('__name', within('%s')).outV()"), SELECT_NOOP_FN("def f(r){ r }; "), SELECT_FN("def f(r){ t=[[%s]]; %s r.each({t.add([%s])}); t.unique(); }; "), SELECT_ONLY_AGG_FN("def f(r){ t=[[%s]]; %s t.add([%s]); t;}; "),
