You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/11/23 09:15:00 UTC

[jira] [Created] (ATLAS-2274) Search using entity and trait attributes - typename and "*" in classificationName throws Invalid condition exception

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 : [~sarath.kum4r@gmail.com]



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