Prasad  S Madugundu created ATLAS-1029:
------------------------------------------

             Summary: Search by guids and trait fails
                 Key: ATLAS-1029
                 URL: https://issues.apache.org/jira/browse/ATLAS-1029
             Project: Atlas
          Issue Type: Improvement
            Reporter: Prasad  S Madugundu


I want to search for assets that the given set of GUIDs and have a given trait. 
But, this is giving empty results. 

Examples:
The following DSL gives empty results:
http://XXXXX:21000/api/atlas/discovery/search/dsl?query=PropertyDefinition  
where (__guid = '55f139ac-4cbd-4f39-bd34-2a112ca63b5b')  and 
(PropertyDefinition isa `XYX`) 

But, if I keep only one of the 2 conditions as follows, then it gives the 
results:

http://XXXXX:21000/api/atlas/discovery/search/dsl?query=PropertyDefinition  
where (__guid = '55f139ac-4cbd-4f39-bd34-2a112ca63b5b')

http://XXXXX:21000/api/atlas/discovery/search/dsl?query=PropertyDefinition  
where (PropertyDefinition isa `XYX`)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to