Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.0.0
-
None
Description
Basic search query fired as a POST request with attribute , tag filters fetches correct results.
But Basic query fired as a GET request with query params encoded in the URL , returns empty results.
For example : Basic query : typeName = "hive_table" query = <name of existing hive_table in Atlas"
http://localhost:21000/api/atlas/v2/search/basic?typeName=hive_table&query=employee
returns
{ queryType: "BASIC", searchParameters: { query: "employee", typeName: "hive_table", excludeDeletedEntities: false, limit: 0, offset: 0 }, queryText: "employee" }
Few commits back , following was the response :
{ queryType: "BASIC", type: "hive_table", entities: [ { typeName: "hive_table", attributes: { owner: "admin", qualifiedName: "default.employee@cl1", name: "employee", description: null }, guid: "253aa208-0415-4e86-8611-3858fad78ede", status: "ACTIVE", displayText: "employee", classificationNames: [ ] } ] }