[ 
https://issues.apache.org/jira/browse/ATLAS-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17271764#comment-17271764
 ] 

ASF subversion and git services commented on ATLAS-4110:
--------------------------------------------------------

Commit 0dc87b8727f58b84c6f3dd2f147369a5395ed2c6 in atlas's branch 
refs/heads/branch-2.0 from Deep Singh
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=0dc87b8 ]

ATLAS-4110: Inconsistency in the result of DSL query and basic query

Signed-off-by: Sarath Subramanian <sar...@apache.org>
(cherry picked from commit c2ab99037637b7a918678c2fc46697fda95bfac2)


> Result of DSL query inconsistent with basic query result
> --------------------------------------------------------
>
>                 Key: ATLAS-4110
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4110
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Deep Singh
>            Assignee: Deep Singh
>            Priority: Major
>
> Create two tables through the beeline prompt, test1, and test2. Set owners 
> for both as "abc". Set table property "comment"="Hello!" on one of the 
> tables(test2).
> Basic query to /api/atlas/v2/search/basic
> --data-binary '{"entityFilters":{"condition":"AND", "criterion": [
> {"attributeName":"comment", "operator":"neq", "attributeValue":"abc"}
> , {"attributeName":"owner", "operator":"eq", "attributeValue":"abc"}]}, 
> "tagFilters":null, "attributes":"["comment", "qualifiedName"], "limit":25, 
> "offset":0, "typeName":"hive_table", "classification":null, "termName":null}
> responds with both the tables.
> DSL query (owner="abc" and comment!="abc" & typeName=hive_table).
> /api/atlas/v2/search/dsl?limit=25&offset=0&query=owner%3D%22abc%22%20and%20comment!%3D%22abc%22&typeName=hive_table
> responds with just one table having comment(test2)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to