[
https://issues.apache.org/jira/browse/ATLAS-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj resolved ATLAS-2274.
-------------------------------------
Resolution: Fixed
Committed to following branches:
- master: http://git-wip-us.apache.org/repos/asf/atlas/commit/a7e89196
- branch-0.8: http://git-wip-us.apache.org/repos/asf/atlas/commit/74f5ebe1
> 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)