Repository: atlas
Updated Branches:
  refs/heads/branch-1.0 a08d8860f -> 6c7d8e268


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

(cherry picked from commit 595c87808a737374236bc63e0e5ed3c907969f7d)


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

Branch: refs/heads/branch-1.0
Commit: c36bc4f9fc20a61801bf26958056dca5e6daab80
Parents: a08d886
Author: Sarath Subramanian <ssubraman...@hortonworks.com>
Authored: Tue Jun 5 14:41:48 2018 -0700
Committer: Madhan Neethiraj <mad...@apache.org>
Committed: Thu Jun 7 07:44:43 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/c36bc4f9/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;}; "),

Reply via email to