You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Prasad S Madugundu (JIRA)" <ji...@apache.org> on 2016/07/18 08:44:20 UTC

[jira] [Updated] (ATLAS-1029) Search by guids and trait fails

     [ https://issues.apache.org/jira/browse/ATLAS-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad  S Madugundu updated ATLAS-1029:
---------------------------------------
    Description: 
I want to search for objects for the given set of GUIDs and have the given trait. But, this is giving empty results. 

Example:
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`)

  was:
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`)

     Issue Type: Bug  (was: Improvement)

> Search by guids and trait fails
> -------------------------------
>
>                 Key: ATLAS-1029
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1029
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Prasad  S Madugundu
>
> I want to search for objects for the given set of GUIDs and have the given trait. But, this is giving empty results. 
> Example:
> 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)