Sharmadha Sainath created ATLAS-2274:
----------------------------------------

             Summary: 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
            Reporter: Sharmadha Sainath


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