[
https://issues.apache.org/jira/browse/ATLAS-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deep Singh resolved ATLAS-4110.
-------------------------------
Resolution: Fixed
> 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)