[
https://issues.apache.org/jira/browse/ATLAS-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270789#comment-17270789
]
ASF subversion and git services commented on ATLAS-4110:
--------------------------------------------------------
Commit c48e4c393b747b25f1c399a2c37175e5004d1526 in atlas's branch
refs/heads/master from Deep Singh
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=c48e4c3 ]
ATLAS-4110: updated handling of neq operator for recent changes in JanusGraph
Signed-off-by: Madhan Neethiraj <[email protected]>
> 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)