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

Madhan Neethiraj reassigned ATLAS-2274:
---------------------------------------

             Assignee: Madhan Neethiraj
    Affects Version/s: 0.8.2
        Fix Version/s: 0.8.2
                       1.0.0

Good catch [~ssainath]!

Patch to fix this issue is available in review board here: 
https://reviews.apache.org/r/64072/

> Search using entity and trait attributes - typename and "*" in 
> classificationName throws Invalid condition exception
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2274
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2274
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0, 0.8.2
>            Reporter: Sharmadha Sainath
>            Assignee: Madhan Neethiraj
>             Fix For: 1.0.0, 0.8.2
>
>         Attachments: Atlas_asterisk_in_classification_and 
> type_name_exception.txt
>
>
> Following is the POST request body to /api/atlas/v2/search/basic
> {code}
> {
> "excludeDeletedEntities":true,
> "entityFilters":null,
> "tagFilters":null,
> "attributes":[],
> "limit":25,
> "offset":0,
> "typeName":"hive_table",
> "classification":"*"
> }
> {code}
> When any typeName is provided , Atlas throws 500 Internal server 
> exception.Attached the exception stack trace.
> When typeName parameter is removed ,or is given "null" value , response is 
> 200 OK.
> When a tag name is provided instead of "*" , and typeName is given ,no issues 
> are seen.
> Hence , issue with * in classificationName and typeName provided together.
> CC : [[email protected]]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to