You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2018/06/05 22:18:16 UTC

atlas git commit: ATLAS-2741: Deleted entities : DSL search with tag doesn't list the deleted entities to which that tag is associated

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 <ss...@hortonworks.com>
Authored: Tue Jun 5 14:41:48 2018 -0700
Committer: Sarath Subramanian <ss...@hortonworks.com>
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;}; "),